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

listdefault

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: 36

Documentation

Overview

Package listdefault provides default values for types.List attributes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StaticValue

func StaticValue(defaultVal types.List) defaults.List

StaticValue returns a static list value default handler.

Use StaticValue if a static default value for a list 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