modularize

This commit is contained in:
Matej Kramny
2015-03-15 20:58:14 +01:00
parent 7b3d6eba89
commit 1cadc9b3b3
4 changed files with 110 additions and 58 deletions

8
cachet/cachet.go Normal file
View File

@@ -0,0 +1,8 @@
package cachet
import "os"
// apiUrl -> https://demo.cachethq.io/api
// apiToken -> qwertyuiop
var apiUrl = os.Getenv("CACHET_API")
var apiToken = os.Getenv("CACHET_TOKEN")