Documentation ¶
Overview ¶
Package schematest provides utilities for writing tests that make assertions about schema types and declarations.
Index ¶
- func Bool() schema.Type
- func Builtin(kind schema.BuiltinKind) schema.Type
- func Error() schema.Type
- func Int() schema.Type
- func Named(info *pkginfo.PkgDeclInfo) schema.Type
- func Param(typ schema.Type) schema.Param
- func Ptr(elem schema.Type) schema.Type
- func Slice(elem schema.Type) schema.Type
- func String() schema.Type
- func TypeInfo(name string) *pkginfo.PkgDeclInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TypeInfo ¶
func TypeInfo(name string) *pkginfo.PkgDeclInfo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.