MCPcopy Create free account
hub / github.com/pquerna/ffjson / usage

Function usage

ffjson.go:38–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36var resetFields = flag.Bool("reset-fields", false, "When unmarshalling reset all fields missing in the JSON")
37
38func usage() {
39 fmt.Fprintf(os.Stderr, "Usage of %s:\n\n", os.Args[0])
40 fmt.Fprintf(os.Stderr, "\t%s [options] [input_file]\n\n", os.Args[0])
41 fmt.Fprintf(os.Stderr, "%s generates Go code for optimized JSON serialization.\n\n", os.Args[0])
42 flag.PrintDefaults()
43 os.Exit(1)
44}
45
46var extRe = regexp.MustCompile(`(.*)(\.go)$`)
47

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…