README ¶ ddd proto 生成领域事件的通用格式 cd dgo protoc -I=. --go_out=. pb/event.proto 生成示例中的具体事件 cd dgo/internal protoc -I=. --go_out=. examples/pb/event.proto Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func FirstUpper(s string) string func InterfaceValNil(a any) bool func MapError[S, D any](ss []S, predicate func(int, S) (D, error)) (ds []D, err error) func UUIDNoHyphen() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FirstUpper ¶ func FirstUpper(s string) string func InterfaceValNil ¶ func InterfaceValNil(a any) bool func MapError ¶ func MapError[S, D any](ss []S, predicate func(int, S) (D, error)) (ds []D, err error) func UUIDNoHyphen ¶ func UUIDNoHyphen() string Types ¶ This section is empty. Source Files ¶ View all Source files tools.go Directories ¶ Show internal Expand all Path Synopsis examples app domain/account domain/order domain/product infra/dep infra/repo/mongo infra/types pb trace Click to show internal directories. Click to hide internal directories.