initial v0.8 pre-release
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// Package types implements some commonly used db serializable types
|
||||
// like datetime, json, etc.
|
||||
package types
|
||||
|
||||
// Pointer is a generic helper that returns val as *T.
|
||||
func Pointer[T any](val T) *T {
|
||||
return &val
|
||||
}
|
||||
Reference in New Issue
Block a user