mirror of
https://github.com/go-sigma/sigma.git
synced 2026-10-28 15:34:34 +08:00
docs(ptr): remove stale generated README
The gomarkdoc output referenced the upstream code.byted.org import path and is not maintained for this package.
This commit is contained in:
1 parent
47dc5db656
commit
7dd41773a5
1 file changed
-44
@@ -1,44 +0,0 @@
|
||||
<!-- Code generated by gomarkdoc. DO NOT EDIT -->
|
||||
|
||||
# ptr
|
||||
|
||||
```go
|
||||
import "code.byted.org/epscp/common/ptr"
|
||||
```
|
||||
|
||||
Package ptr \.\.\.
|
||||
|
||||
## Index
|
||||
|
||||
- [func Of[T any](v T) *T](<#func-of>)
|
||||
- [func To[T any](v *T) T](<#func-to>)
|
||||
- [func ToDef[T any](v *T, def T) T](<#func-todef>)
|
||||
|
||||
|
||||
## func Of
|
||||
|
||||
```go
|
||||
func Of[T any](v T) *T
|
||||
```
|
||||
|
||||
Of returns pointer to value\.
|
||||
|
||||
## func To
|
||||
|
||||
```go
|
||||
func To[T any](v *T) T
|
||||
```
|
||||
|
||||
To returns the value of the pointer passed in or the default value if the pointer is nil\.
|
||||
|
||||
## func ToDef
|
||||
|
||||
```go
|
||||
func ToDef[T any](v *T, def T) T
|
||||
```
|
||||
|
||||
ToDef returns the value of the int pointer passed in or default value if the pointer is nil\.
|
||||
|
||||
|
||||
|
||||
Generated by [gomarkdoc](<https://github.com/princjef/gomarkdoc>)
|
||||
Reference in new issue
Block a user