inklabs/rangedb

View on GitHub
examples/chat/user_commands.go

Summary

Maintainability
A
0 mins
Test Coverage
package chat
 
//go:generate go run ../../gen/commandgenerator/main.go -id UserID -aggregateType user
 
type OnBoardUser struct {
UserID string `json:"userID"`
Name string `json:"name"`
}
 
type WarnUser struct {
UserID string `json:"userID"`
Reason string `json:"reason"`
}