Refactor: harmonize naming #2

Merged
lbatuska merged 4 commits from consistent_naming_conventions into master 2024-10-15 15:33:19 -04:00
5 changed files with 5 additions and 5 deletions
Showing only changes of commit 331c1722af - Show all commits

View File

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

View File

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

View File

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

View File

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

View File

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