Files
hopp/option.go
T

12 lines
319 B
Go
Raw Normal View History

2025-01-20 18:45:56 -05:00
package hopp
import "git.tebibyte.media/sashakoshka/go-util/container"
2025-10-15 12:37:46 -04:00
// Option is an alias for ucontainer.Option, defined here for convenience
type Option[T any] = ucontainer.Option[T]
2025-01-21 16:20:40 -05:00
2025-10-15 21:00:04 -04:00
// O is an alias for ucontainer.O, defined here for convenience
func O[T any](value T) Option[T] {
return ucontainer.O(value)
}