Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

gnip

Golang package for gnip.

Install

go get github.com/poptip/gnip.go

Usage

package main

import (
  "github.com/poptip/gnip.go"
)

func main() {
  var mygnip := gnip.NewClient(username, password, account)
  rules, err := mygnip.GetAllActiveRules()
  if err != nil {
    // Oh no.
  }

  for _, rule := range rules {
    // Do something with `rule`.
  }
}

About

Golang package for gnip.

Resources

Stars

1 star

Watchers

11 watching

Forks

Releases

Packages

Contributors

Languages