code-generator: k8s.io/code-generator/third_party/forked/golang/reflect Index | Files

package reflect

import "k8s.io/code-generator/third_party/forked/golang/reflect"

This package is copied from Go library reflect/type.go. The struct tag library provides no way to extract the list of struct tags, only a specific tag

Index

Package Files

type.go

type StructTag Uses

type StructTag struct {
    Name  string
    Value string
}

func (StructTag) String Uses

func (t StructTag) String() string

type StructTags Uses

type StructTags []StructTag

func ParseStructTags Uses

func ParseStructTags(tag string) (StructTags, error)

ParseStructTags returns the full set of fields in a struct tag in the order they appear in the struct tag.

func (StructTags) Has Uses

func (tags StructTags) Has(name string) bool

func (StructTags) String Uses

func (tags StructTags) String() string

Package reflect imports 3 packages (graph) and is imported by 2 packages. Updated 2018-03-16. Refresh now. Tools for package owners.