schematest

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 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.Type

func Builtin

func Builtin(kind schema.BuiltinKind) schema.Type

func Error

func Error() schema.Type

func Int

func Int() schema.Type

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.Type

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