(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,18 @@
package fixtures_test
import (
"testing"
data "allaboutapps.dev/aw/go-starter/internal/data/fixtures"
"allaboutapps.dev/aw/go-starter/internal/models"
"github.com/stretchr/testify/assert"
)
func TestUpsertableInterface(t *testing.T) {
var user any = &models.AppUserProfile{
UserID: "62b13d29-5c4e-420e-b991-a631d3938776",
}
_, ok := user.(data.Upsertable)
assert.True(t, ok, "AppUserProfile should implement the Upsertable interface")
}