hash out state
This commit is contained in:
parent
3b1033ff1a
commit
006a3a5b72
4 changed files with 101 additions and 71 deletions
15
simple_map.go
Normal file
15
simple_map.go
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue