dont use relative imports

following golang conventions and to fix travis
develop v1.0.1
noerw 6 years ago
parent a122b3e3fe
commit 5991a6ba9a

@ -81,8 +81,7 @@ Want to use `osem_notify` on a platform where no builds are provided?
Assuming you have golang installed, run Assuming you have golang installed, run
```sh ```sh
go get -v -d ./ go install github.com/noerw/osem_notify
go build ./
``` ```
For cross-compilation, check [this guide](https://dave.cheney.net/2015/08/22/cross-compilation-with-go-1-5) out. For cross-compilation, check [this guide](https://dave.cheney.net/2015/08/22/cross-compilation-with-go-1-5) out.

@ -7,7 +7,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/spf13/viper" "github.com/spf13/viper"
"../core" "github.com/noerw/osem_notify/core"
) )
/** /**

@ -1,7 +1,7 @@
package main package main
import ( import (
"./cmd" "github.com/noerw/osem_notify/cmd"
) )
func main() { func main() {

Loading…
Cancel
Save