Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalStorage ¶
func NewLocalStorage ¶
func NewLocalStorage() LocalStorage
func (LocalStorage) GetItem ¶
func (l LocalStorage) GetItem(key string) string
GetItem return the key item.
func (LocalStorage) RemoveItem ¶
func (l LocalStorage) RemoveItem(key string)
RemoveItem remove val into localstorage under key.
func (LocalStorage) SetItem ¶
func (l LocalStorage) SetItem(key string, val string)
SetItem save val into localstorage under key.
Click to show internal directories.
Click to hide internal directories.