localstorage.mx raw

   1  //:build !wasm
   2  
   3  package localstorage
   4  
   5  // GetItem returns the value for a key, or empty string if not found.
   6  func GetItem(key string) (s string) { panic("jsbridge") }
   7  
   8  // SetItem stores a key-value pair.
   9  func SetItem(key, value string) { panic("jsbridge") }
  10  
  11  // RemoveItem deletes a key.
  12  func RemoveItem(key string) { panic("jsbridge") }
  13