internal

package
v0.0.0-...-d04b29a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

func Rules

func Rules() []string

Rules returns registered RulesTypes

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL