The Unoficial SheetDB client written in go
For the API documentation, check SheetDB API Docs.
Install sheetDB go with
go get -u github.com/rslhdyt/sheetdb-go
Import using
import (
"github.com/rslhdyt/sheetdb-go"
"github.com/rslhdyt/sheetdb-go/client"
)
package main
import (
"github.com/rslhdyt/sheetdb-go"
"github.com/rslhdyt/sheetdb-go/client"
)
func main() {
...
// Basic setup
sheetDB := client.New(sheetDBUsername, sheetDBPassword, sheetDBDocumentId)
// Set params
getContentParams := sheetdb.GetContentParams{}
contents, err := sheetDB.Read.GetContent(&getContentParams)
...
}
For more examples, please check example directory.
- Read
- Search
- Create
- Update
- Delete
- Unit Test