MCPcopy Create free account
hub / github.com/devld/go-drive / init

Function init

drive/script/utils.go:35–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33)
34
35func init() {
36 vm, e := s.NewVM()
37 if e != nil {
38 panic(e)
39 }
40
41 _, e = vm.Run(context.Background(), helperScript)
42 if e != nil {
43 panic(e)
44 }
45
46 baseVM = vm
47}
48
49var t = i18n.TPrefix("drive.script.")
50

Callers

nothing calls this directly

Calls 1

RunMethod · 0.95

Tested by

no test coverage detected