parse

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result added in v0.0.3

type Result struct {
	Fields []flds.Field
	Errors []error
}

func Fields

func Fields(typ, pth string) (*Result, error)

Fields gets the fields of the given struct. pth must be a go file that defines the typ struct. Any embedded structs must also be in that same file.

Jump to

Keyboard shortcuts

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