Documentation ¶
Overview ¶
Package schematest provides utilities for writing tests that make assertions about schema types and declarations.
Index ¶
- func Bool() schema.BuiltinType
- func Builtin(kind schema.BuiltinKind) schema.BuiltinType
- func Error() schema.BuiltinType
- func Int() schema.BuiltinType
- 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.BuiltinType
- func TypeInfo(name string) *pkginfo.PkgDeclInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
func Bool() schema.BuiltinType
func Builtin ¶
func Builtin(kind schema.BuiltinKind) schema.BuiltinType
func Error ¶
func Error() schema.BuiltinType
func Int ¶
func Int() schema.BuiltinType
func String ¶
func String() schema.BuiltinType
func TypeInfo ¶
func TypeInfo(name string) *pkginfo.PkgDeclInfo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.