xxinterface

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OnlyOne

type OnlyOne struct {
	// contains filtered or unexported fields
}

func (*OnlyOne) Get

func (oo *OnlyOne) Get() interface{}

func (*OnlyOne) Set

func (oo *OnlyOne) Set(curr interface{})

func (*OnlyOne) SetCreateFunc

func (oo *OnlyOne) SetCreateFunc(f func() (interface{}, error))

Jump to

Keyboard shortcuts

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