20 lines
239 B
Go

package ocean
import "sync"
type Collection interface {
Get(key string)
}
type collection struct {
data sync.Map
name string
}
func TestNewCollection() {
users := collection{}
users.name = "User"
users.data.Store("1", "Test")
}