schmurfy / chipi

Exported function returning value of unexported type RVV-B0011
Anti-pattern
Critical
15 days agoa year old
exported func ParseJsonTag returns unexported type *schema.jsonTag, which can be annoying to use
25	Style       *string
26}
27
28func ParseJsonTag(f reflect.StructField) *jsonTag {29	ret := &jsonTag{
30		Name: f.Name,
31	}