Initialize Phase 0 monorepo skeleton (T-001)

This commit is contained in:
ila
2026-07-16 15:28:13 +08:00
parent 0184595ccc
commit cf9fc01c68
23 changed files with 151 additions and 74 deletions
+2
View File
@@ -0,0 +1,2 @@
// Package application coordinates SoftBox use cases through injected ports.
package application
+2
View File
@@ -0,0 +1,2 @@
// Package domain contains SoftBox business models and rules.
package domain
+3
View File
@@ -0,0 +1,3 @@
module softbox.local/core
go 1.20
+5
View File
@@ -0,0 +1,5 @@
// Package core exposes shared, UI-independent SoftBox functionality.
package core
// ProductName is the stable display name shared by both application targets.
const ProductName = "SoftBox"
+9
View File
@@ -0,0 +1,9 @@
package core
import "testing"
func TestProductName(t *testing.T) {
if ProductName != "SoftBox" {
t.Fatalf("ProductName = %q, want %q", ProductName, "SoftBox")
}
}