Forked from
DevOps (Lecture FB VI) / webservice
17 commits behind the upstream repository.
-
gjahn authored
The location where the actual items should reside is in the store, while only references are being returned when attempting to access an item.
gjahn authoredThe location where the actual items should reside is in the store, while only references are being returned when attempting to access an item.
store.go 195 B
package state
type Store interface {
Add( i Item ) error
Remove( name string ) error
Fetch( name string ) ( *Item, error )
Show() ( []string, error )
Disconnect() error
}