Help us shape the future of Go! Take the 2026 Go Developer Survey

objectdefault

package
v1.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MPL-2.0 Imports: 4 Imported by: 21

Documentation

Overview

Package objectdefault provides default values for types.Object attributes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StaticValue

func StaticValue(defaultVal types.Object) defaults.Object

StaticValue returns a static object value default handler.

Use StaticValue if a static default value for a object should be set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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