Split up types
This commit is contained in:
parent
1bff626805
commit
4f3b4ec4bf
9 changed files with 245 additions and 211 deletions
5
types/entity.go
Normal file
5
types/entity.go
Normal file
|
@ -0,0 +1,5 @@
|
|||
package types
|
||||
|
||||
type Entity interface {
|
||||
Marshal() ([]byte, error)
|
||||
}
|
Reference in a new issue