https://github.com/replit/database-go
Go client for Repl.it Database
https://github.com/replit/database-go
Last synced: 7 months ago
JSON representation
Go client for Repl.it Database
- Host: GitHub
- URL: https://github.com/replit/database-go
- Owner: replit
- License: mit
- Created: 2020-07-15T21:35:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T21:34:29.000Z (about 2 years ago)
- Last Synced: 2025-04-10T18:24:50.762Z (10 months ago)
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 22
- Watchers: 30
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Repl.it Database Go client
[](https://pkg.go.dev/github.com/replit/database-go)
The easiest way to use Repl.it Database from your Go repls.
[Try it out on Repl.it!](https://replit.com/@replit/Database-Go-example)
```
package main
import (
"fmt"
"github.com/replit/database-go"
)
func main() {
database.Set("key", "value")
val, _ := database.Get("key")
fmt.Println(val)
// Output: value
}
```
[View the docs](https://pkg.go.dev/github.com/replit/database-go) for more info
about how to use the client to interact with Database.