schematest

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package schematest provides utilities for writing tests that make assertions about schema types and declarations.

Index

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 Named

func Named(info *pkginfo.PkgDeclInfo) schema.Type

func Param

func Param(typ schema.Type) schema.Param

func Ptr

func Ptr(elem schema.Type) schema.Type

func Slice

func Slice(elem schema.Type) schema.Type

func String

func String() schema.BuiltinType

func TypeInfo

func TypeInfo(name string) *pkginfo.PkgDeclInfo

Types

This section is empty.

Jump to

Keyboard shortcuts

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