README ¶ go-singleton Get started import "github.com/HashLoad/go-singleton" ... // Set value, value is s generic interface{} pattern.Singleton.Set("key", "value") // Get value, value is a generic interface{} value, err := pattern.Singleton.Get("key") Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Singleton() *singleton Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Singleton ¶ func Singleton() *singleton Types ¶ This section is empty. Source Files ¶ View all Source files singleton.go Click to show internal directories. Click to hide internal directories.