...

Package pkg2

import "cuelang.org/go/encoding/gocode/testdata/pkg2"
Overview
Index

Overview ▾

type ImportMe

type ImportMe struct {
    A int    `json:"a"`
    B string `json:"b"`
}

func (*ImportMe) Validate

func (x *ImportMe) Validate() error

Validate validates x.

type PickMe

type PickMe int

func (PickMe) Validate

func (x PickMe) Validate() error

Validate validates x.