wip: parse & use config file, start Storage struct/interface
This commit is contained in:
committed by
=Michael Hohn
parent
c2480dc2f1
commit
5b324e092a
@@ -1,4 +1,10 @@
|
||||
package lsmem
|
||||
|
||||
type Storage struct {
|
||||
CurrentID int
|
||||
}
|
||||
|
||||
func (s *Storage) NextID() int {
|
||||
s.CurrentID += 1
|
||||
return s.CurrentID
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user