sevki.org/build/internal

Package internal is used for registering types in build, it had no clear place in other packages to go which is why it gets it's own package

Index

Package Files

internal.go

func Get

func Get(name string) reflect.Type

Get returns a reflect.Type for a given name.

func GetFieldByTag

func GetFieldByTag(tn, tag string, p reflect.Type) (*reflect.StructField, error)

GetFieldByTag returns field by tag

func Register

func Register(name string, t interface{}) error

Register function is used to register new types of targets.

Subdirectories