hash out state

This commit is contained in:
Barak Michener 2016-08-05 16:36:23 -07:00
parent 3b1033ff1a
commit 006a3a5b72
4 changed files with 101 additions and 71 deletions

15
simple_map.go Normal file
View file

@ -0,0 +1,15 @@
package roba
type SimpleMap struct {
layout *Layout
}
func NewSimpleMap() (Map, error) {
var err error
m := &SimpleMap{}
m.layout, err = NewLayout("test.txt")
if err != nil {
return nil, err
}
return m, nil
}