8 lines
140 B
Go
8 lines
140 B
Go
package domain
|
|
|
|
type BaseRepository interface {
|
|
NewId(fields ...string) string
|
|
CountAll() (int, error)
|
|
Exists(id string) (bool, error)
|
|
}
|