mirror of
https://github.com/aykhans/dodo.git
synced 2025-09-03 18:03:34 +00:00
🔨 Rename 'IOption' to 'Option'
This commit is contained in:
@@ -6,10 +6,10 @@ import (
|
||||
)
|
||||
|
||||
type NonNilConcrete interface {
|
||||
~int | ~float64 | ~string | ~bool
|
||||
~int | ~float64 | ~string | ~bool
|
||||
}
|
||||
|
||||
type IOption[T NonNilConcrete] interface {
|
||||
type Option[T NonNilConcrete] interface {
|
||||
IsNone() bool
|
||||
ValueOrErr() (*T, error)
|
||||
ValueOr(def *T) *T
|
||||
|
Reference in New Issue
Block a user