Registry /
database / nanobox-io-golang-scribble
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
scribble
✓ github.com/nanobox-io/golang-scribble
Write a JSON record to a Scribble database.
package main
import (
"fmt"
"github.com/nanobox-io/golang-scribble"
)
func main() {
db, err := scribble.New("./mydb", nil)
if err != nil {
panic(err)
}
type User struct {
Name string
}
err = db.Write("users", "1", User{Name: "Alice"})
if err != nil {
panic(err)
}
fmt.Println("Data written")
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
0.0.0-20190309225732-aa3e7c118975latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.