Skip to content

seppo0010/rlite-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rlite-go

golang bindings for rlite. For more information about rlite, go to rlite repository

Installation

First install rlite

$ go get github.com/seppo0010/rlite-go

Usage

Using rlite-go

package main

import "github.com/seppo0010/rlite-go"
import "fmt"

func main () {
    db, _ := rlite.Open(":memory:")
    rlite.Command(db, []string{"SET", "key", "value"})

    reply, err := rlite.Command(db, []string{"GET", "key"})
    if err != nil {
        // ...
    }
    if reply != "value" {
        // ...
    }
    fmt.Println(reply)
}

About

golang bindings for rlite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages