20 lines
239 B
Go
Raw Normal View History

2023-07-04 22:20:26 +00:00
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")
}