SkillAgentSearch skills...

Goroo

Yet Another Groonga Client for Go

Install / Use

/learn @hhatto/Goroo
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

goroo (ごろう) Build Status

Yet Another Groonga Client for Go.

Installation

$ go get github.com/hhatto/goroo

Usage

with HTTP

  1. Start Groonga Server (with HTTP)
$ groonga -s -l 8 --log-path ./grn.log --protocol http grn.db
  1. execute client code
package main

import (
    "fmt"

    "github.com/hhatto/goroo"
)

func main() {
    client := goroo.NewClient("http", "localhost", 10041)
    result, err := client.Call("select", map[string]string{"table": "Users"})
    if err != nil {
        fmt.Println("Call() error:", err)
        return
    }
    fmt.Println(result)
}

with GQTP

  1. Start Groonga Server (with GQTP)
$ groonga -s -l 8 --log-path ./grn.log --protocol gqtp grn.db
  1. execute client code
package main

import (
    "fmt"

    "github.com/hhatto/goroo"
)

func main() {
    client := goroo.NewClient("gqtp", "localhost", 10043)
    result, err := client.Call("select", map[string]string{"table": "Users"})
    if err != nil {
        fmt.Println("Call() error:", err)
        return
    }
    fmt.Println(result)
}

License

MIT

View on GitHub
GitHub Stars12
CategoryDevelopment
Updated3mo ago
Forks0

Languages

Go

Security Score

72/100

Audited on Dec 28, 2025

No findings