inital commit

This commit is contained in:
2024-09-12 22:16:26 +02:00
commit 2c75b20349
14 changed files with 653 additions and 0 deletions

11
typeutils/types.go Normal file
View File

@@ -0,0 +1,11 @@
package typeutils
type Optional[T any] struct {
value T
present bool
}
type Result[T any] struct {
value T
err error
}