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.6.1 (latest)
Published
Mar 5, 2025
Platform
windows/amd64
Imports
8 packages
Last checked
4 hours ago

Tools for package owners.