Allow users to pass options to persist.New(). Support for bools.
This commit is contained in:
@@ -36,6 +36,8 @@ func main() {
|
||||
y6 = y6p.Get()
|
||||
y7p := persistIntArray("y7",[]int{1,2,3})
|
||||
_ = y7p
|
||||
y8p := persistBool("y8",true)
|
||||
_ = y8p
|
||||
|
||||
z := func(interface{}) {
|
||||
_ = persistFloat("y7",1.0)
|
||||
|
||||
Reference in New Issue
Block a user