MCPcopy Create free account
hub / github.com/crossoverJie/gscript / loadInternal

Method loadInternal

compiler.go:105–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105func (c *Compiler) loadInternal() string {
106 bytes, err := internal.Asset("internal/internal.gs")
107 //file, err := os.ReadFile("internal/internal.gs")
108 if err != nil {
109 panic(err)
110 }
111 v := string(bytes)
112 log.NativeLine = strings.Count(v, "\n") + 1
113 return v
114
115}

Callers 1

CompilerMethod · 0.95

Calls 1

AssetFunction · 0.92

Tested by

no test coverage detected