Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 906a6a286d
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.385 kb
package stackongo
import (
// Info returns a collection of statistics about the site
func (session Session) Info() (output Info, error os.Error) {
collection := new(infoCollection)
error = session.get("info", map[string]string{}, collection)
if len(collection.Items) > 0 {
output = collection.Items[0]
} else {
error = os.NewError("Site not found")
Jump to Line
Something went wrong with that request. Please try again.