File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ Methods:
176176- ` .MustGet() ` [ doc] ( https://pkg.go.dev/github.com/samber/mo#Option.MustGet ) - [ play] ( https://go.dev/play/p/RVBckjdi5WR )
177177- ` .OrElse() ` [ doc] ( https://pkg.go.dev/github.com/samber/mo#Option.OrElse ) - [ play] ( https://go.dev/play/p/TrGByFWCzXS )
178178- ` .OrEmpty() ` [ doc] ( https://pkg.go.dev/github.com/samber/mo#Option.OrEmpty ) - [ play] ( https://go.dev/play/p/SpSUJcE-tQm )
179- - ` .ToPointer() ` [ doc] ( https://pkg.go.dev/github.com/samber/mo#Option.ToPointer ) - [ play] ( https://go.dev/play/p/N43w92SM-Bs )
179+ - ` .ToPointer() ` [ doc] ( https://pkg.go.dev/github.com/samber/mo#Option.ToPointer ) - [ play] ( https://go.dev/play/p/KJc2Pv3KNPW )
180180- ` .ForEach() ` [ doc] ( https://pkg.go.dev/github.com/samber/mo#Option.ForEach )
181181- ` .Match() ` [ doc] ( https://pkg.go.dev/github.com/samber/mo#Option.Match ) - [ play] ( https://go.dev/play/p/1V6st3LDJsM )
182182- ` .Map() ` [ doc] ( https://pkg.go.dev/github.com/samber/mo#Option.Map ) - [ play] ( https://go.dev/play/p/mvfP3pcP_eJ )
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ func (o Option[T]) MapValue(mapper func(value T) T) Option[T] {
199199}
200200
201201// ToPointer returns value if present or a nil pointer.
202- // Play: https://go.dev/play/p/N43w92SM-Bs
202+ // Play: https://go.dev/play/p/KJc2Pv3KNPW
203203func (o Option [T ]) ToPointer () * T {
204204 if ! o .isPresent {
205205 return nil
You can’t perform that action at this time.
0 commit comments