From 7dd41773a56550b3da3112f9022354367404bcc4 Mon Sep 17 00:00:00 2001 From: Tosone Date: Mon, 28 Sep 2026 20:35:11 +0800 Subject: [PATCH] docs(ptr): remove stale generated README The gomarkdoc output referenced the upstream code.byted.org import path and is not maintained for this package. --- pkg/utils/ptr/README.md | 44 ----------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 pkg/utils/ptr/README.md 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]()