refactor(Type)!: harmonize naming 1

This commit is contained in:
2024-10-15 13:12:53 +02:00
parent 7153f2073e
commit 331c1722af
5 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
package typeutils
package Type
// Created to abstract over Is_some and Is_ok
type ValueContainer interface {

View File

@@ -1,4 +1,4 @@
package typeutils
package Type
import "github.com/lbatuska/goutils/assert"

View File

@@ -1,4 +1,4 @@
package typeutils
package Type
import (
"errors"

View File

@@ -1,4 +1,4 @@
package typeutils
package Type
type Optional[T any] struct {
value T

View File

@@ -1,4 +1,4 @@
package typeutils
package Type
func Expect[T any](val Unwrappable[T], msg string) T {
return val.Expect(msg)