Documentation
¶
Index ¶
- Variables
- type Field
- type List
- func (vs List) All(f func(string) bool) bool
- func (vs List) Any(f func(string) bool) bool
- func (vs List) Explode(f func(string) []string) List
- func (vs List) Filter(f func(string) bool) List
- func (vs List) Has(t string) bool
- func (vs List) Index(t string) int
- func (vs List) Map(f func(string) string) List
- type Method
- type Param
- type Type
- func (t Type) Docs() List
- func (t Type) Field(name string) *Field
- func (t Type) FieldNames() List
- func (t Type) Fields() []Field
- func (t Type) IsConcrete() bool
- func (t Type) IsInterface() bool
- func (t Type) Method(s string) *Method
- func (t Type) MethodNames() List
- func (t Type) Methods() []Method
- func (t Type) Name() string
- func (t Type) Package() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Verbose bool Logger func(format string, args ...interface{}) )
Functions ¶
This section is empty.
Types ¶
type List ¶
type List []string
List is a magic list of string
func (List) Any ¶
Any returns `true` if one of the strings in the slice satisfies the predicate `f`.
func (List) Explode ¶
Explode returns a new slice containing the results of applying the function `f` to each string in the original slice.
func (List) Filter ¶
Filter returns a new slice containing all strings in the slice that satisfy the predicate `f`.
type Method ¶
type Method struct {
// contains filtered or unexported fields
}
func (Method) ParamNames ¶
func (Method) ParamTypes ¶
func (Method) ResultTypes ¶
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
func (Type) FieldNames ¶
func (Type) IsConcrete ¶
func (Type) IsInterface ¶
func (Type) MethodNames ¶
Click to show internal directories.
Click to hide internal directories.