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

setdefault

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

Documentation

Overview

Package setdefault provides default values for types.Set attributes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StaticValue

func StaticValue(defaultVal types.Set) defaults.Set

StaticValue returns a static set value default handler.

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