package tags

import "k8s.io/gengo/v2/parser/tags"

Index

Types

type JSON

type JSON struct {
	Name      string
	Omit      bool
	Inline    bool
	Omitempty bool
}

JSON represents a go json field tag.

func LookupJSON

func LookupJSON(m types.Member) (JSON, bool)

func (JSON) String

func (t JSON) String() string

Source Files

json.go

Version
v2.0.0-20250207200755-1244d31929d7 (latest)
Published
Feb 7, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
2 weeks ago

Tools for package owners.