MCPcopy Create free account
hub / github.com/DoNewsCode/core / Push

Method Push

cron/cron.go:202–204  ·  view source on GitHub ↗
(x interface{})

Source from the content-addressed store, hash-verified

200}
201
202func (j *jobDescriptors) Push(x interface{}) {
203 *j = append(*j, x.(*JobDescriptor))
204}
205
206func (j *jobDescriptors) Pop() (v interface{}) {
207 *j, v = (*j)[:j.Len()-1], (*j)[j.Len()-1]

Callers 2

AddMethod · 0.80
RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected