diff --git a/pkg/utils/ptr/README.md b/pkg/utils/ptr/README.md deleted file mode 100644 index b801b81f..00000000 --- a/pkg/utils/ptr/README.md +++ /dev/null @@ -1,44 +0,0 @@ - - -# 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]()