17 lines
243 B
Go
17 lines
243 B
Go
|
package generator
|
||
|
|
||
|
import (
|
||
|
"segmenta/pkg/handler"
|
||
|
)
|
||
|
|
||
|
// TODO: define or not?
|
||
|
type Generator interface {
|
||
|
Generate() error
|
||
|
}
|
||
|
|
||
|
// TODO: define or not?
|
||
|
type Handled interface {
|
||
|
AddHandler(h handler.Handler)
|
||
|
RemoveHandler(h handler.Handler)
|
||
|
}
|