Skip to content

slvmnd/gosphinx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A sphinx client package for the Go programming language. Implemented by https://github.com/yunge

Installation

go get github.com/slvmnd/gosphinx

Testing

import "documents.sql" to "test" database in mysql, start sphinx searchd with "sphinx.conf".

Then "cd" to gosphinx,

go test .

Differs from other languages' lib

No GetLastError()

Go can return multi values, it's unnecessary to set a "error" field, gosphinx just return error as another return values.

But GetLastWarning() is still remained, and still has IsConnectError() to "Checks whether the last error was a network error on API side".

About

sphinx api for Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages