goplayspace: github.com/iafan/goplayspace/client/js/localstorage Index | Files

package localstorage

import "github.com/iafan/goplayspace/client/js/localstorage"

Index

Package Files

localstorage.go

func Get Uses

func Get(key string, def string) string

Get wraps localStorage.getItem and returns a string value

func GetBool Uses

func GetBool(key string, def bool) bool

GetBool wraps localStorage.getItem and returns a boolean value

func GetInt Uses

func GetInt(key string, def int) int

GetInt wraps localStorage.getItem and returns an integer value

func Set Uses

func Set(key string, value interface{})

Set is a wrapper for localStorage.setItem

Package localstorage imports 2 packages (graph) and is imported by 2 packages. Updated 2017-08-06. Refresh now. Tools for package owners.