You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-29 08:56:58 +02:00
initial v0.8 pre-release
This commit is contained in:
8
tools/types/types.go
Normal file
8
tools/types/types.go
Normal file
@@ -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