Add utility interfaces
This commit is contained in:
parent
f1d4a7251b
commit
d691b5193e
1 changed files with 9 additions and 0 deletions
9
shared/interfaces.go
Normal file
9
shared/interfaces.go
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package shared
|
||||||
|
|
||||||
|
type Clonable interface {
|
||||||
|
Clone() Clonable
|
||||||
|
}
|
||||||
|
|
||||||
|
type Santisable interface {
|
||||||
|
Sanitize()
|
||||||
|
}
|
Loading…
Reference in a new issue