MCPcopy Create free account
hub / github.com/aloder/tojen / GenerateFile

Function GenerateFile

gen/main.go:82–120  ·  view source on GitHub ↗

GenerateFile Generates a jennifer file given a series of bytes a package name and if you want a main function or not

(s []byte, packName string, main bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestFileFunction · 0.85
GenerateFileBytesFunction · 0.85

Calls 5

parseFileFunction · 0.85
importsFunction · 0.85
makeJenCodeFunction · 0.85
genNewJenFileFunction · 0.85
genMainFuncFunction · 0.85

Tested by 1

TestFileFunction · 0.68