8 lines
138 B
Go
8 lines
138 B
Go
|
package ocean
|
||
|
|
||
|
type Storage[T any] interface {
|
||
|
Init(c *collection[T]) error
|
||
|
Set(key string, value *T) error
|
||
|
Delete(key string) error
|
||
|
}
|