12 lines
319 B
Go
12 lines
319 B
Go
package hopp
|
|
|
|
import "git.tebibyte.media/sashakoshka/go-util/container"
|
|
|
|
// Option is an alias for ucontainer.Option, defined here for convenience
|
|
type Option[T any] = ucontainer.Option[T]
|
|
|
|
// O is an alias for ucontainer.O, defined here for convenience
|
|
func O[T any](value T) Option[T] {
|
|
return ucontainer.O(value)
|
|
}
|