Files
PandeyandGitHub 464ecbca98 refactor: rename types package to domain (#108)
## Summary
- Rename internal/types to internal/domain
- Update imports and call sites to use the domain package
- Document the domain package boundaries
- Remove api/v1alpha1 dependency on internal/domain

## Tests
- GOCACHE=/private/tmp/foundry-go-cache go test ./...
2026-05-01 09:26:16 +05:30

13 lines
179 B
Go

package domain
import "embed"
func MustNewFileFromFS(fs embed.FS, path string) []byte {
contents, err := fs.ReadFile(path)
if err != nil {
panic(err)
}
return contents
}