(Feat): Initial Commit
Some checks failed
Build & Test / build-test (push) Has been cancelled
Build & Test / swagger-codegen-cli (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled

This commit is contained in:
2026-07-03 19:41:31 +05:30
commit 7e940c83a7
461 changed files with 45002 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package util_test
import (
"testing"
"allaboutapps.dev/aw/go-starter/internal/util"
"github.com/stretchr/testify/assert"
)
func TestFalseIfNil(t *testing.T) {
b := true
assert.True(t, util.FalseIfNil(&b))
b = false
assert.False(t, util.FalseIfNil(&b))
assert.False(t, util.FalseIfNil(nil))
}