package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Dec 25, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Consumer interface {
Accept(arg interface{})
}
Optional 可选结构
func OptionalOf(val interface{}) *Optional
OptionalOf 构造Optional
OptionalOfNil 设置nil Optinal
func (optinal *Optional) Of() interface{}
Get 获取Optinal值
Source Files
¶
Click to show internal directories.
Click to hide internal directories.