package
0.0.0-20241015200357-f69786ad4933
Repository: https://github.com/thepiachu/go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
//TODO: fix func PutInBlobstore(c context.Context, toStore interface{}) (appengine.BlobKey, error) { //TODO: check capabilities var k appengine.BlobKey var data bytes.Buffer enc := gob.NewEncoder(&data) err := enc.Encode(toStore) if err != nil { Log.Errorf(c, "PutInBlobstore - %s", err) return k, err } w, err := blobstore.Create(c, "application/octet-stream") if err != nil { Log.Errorf(c, "PutInBlobstore - %s", err) return k, err } _, err = w.Write(data.Bytes()) if err != nil { Log.Errorf(c, "PutInBlobstore - %s", err) return k, err } err = w.Close() if err != nil { Log.Errorf(c, "PutInBlobstore - %s", err) return k, err } k, err = w.Key() if err != nil { Log.Errorf(c, "PutInBlobstore - %s", err) } return k, err } */.
No description provided by the author
A function that either loads a variable from datastore, or if it is not present, sets it and then loads it.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
<2**20 to fit into datastore.

# Structs

No description provided by the author