MCPcopy
hub / github.com/pquerna/ffjson / NewStructInfo

Function NewStructInfo

generator/parser.go:44–52  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

42}
43
44func NewStructInfo(name string) *StructInfo {
45 return &StructInfo{
46 Name: name,
47 Options: shared.StructOptions{
48 SkipDecoder: *noDecoder,
49 SkipEncoder: *noEncoder,
50 },
51 }
52}
53
54var skipre = regexp.MustCompile("(.*)ffjson:(\\s*)((skip)|(ignore))(.*)")
55var skipdec = regexp.MustCompile("(.*)ffjson:(\\s*)((skipdecoder)|(nodecoder))(.*)")

Callers 1

ExtractStructsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…