Moved properties to engine layer

This commit is contained in:
Deluan
2016-03-08 18:40:16 -05:00
parent 067517a916
commit 8607e25c90
8 changed files with 20 additions and 18 deletions
+12
View File
@@ -0,0 +1,12 @@
package engine
type Property struct {
Id string
Value string
}
type PropertyRepository interface {
Put(id string, value string) error
Get(id string) (string, error)
DefaultGet(id string, defaultValue string) (string, error)
}