Skip to content

replit/database-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repl.it Database Go client

PkgGoDev

The easiest way to use Repl.it Database from your Go repls. Try it out on Repl.it!

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 for more info about how to use the client to interact with Database.