toolshonnef.co/go/tools/staticcheck/fakejson Index | Files

package fakejson

import "honnef.co/go/tools/staticcheck/fakejson"

Index

Types

type UnsupportedTypeError

type UnsupportedTypeError struct {
	Type types.Type
	Path string
}

An UnsupportedTypeError is returned by Marshal when attempting to encode an unsupported value type.

func Marshal

func Marshal(v types.Type) *UnsupportedTypeError

Source Files

encode.go

Version
v0.4.0
Published
Feb 3, 2023
Platform
linux/amd64
Imports
8 packages
Last checked
19 minutes ago

Tools for package owners.