Browse Source

dont use relative imports

following golang conventions and to fix travis
tags/v1.0.1
noerw 1 year ago
parent
commit
5991a6ba9a
3 changed files with 3 additions and 4 deletions
  1. 1
    2
      README.md
  2. 1
    1
      cmd/shared.go
  3. 1
    1
      main.go

+ 1
- 2
README.md View File

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

+ 1
- 1
cmd/shared.go View File

@@ -7,7 +7,7 @@ import (
7 7
 	"github.com/spf13/cobra"
8 8
 	"github.com/spf13/viper"
9 9
 
10
-	"../core"
10
+	"github.com/noerw/osem_notify/core"
11 11
 )
12 12
 
13 13
 /**

+ 1
- 1
main.go View File

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

Loading…
Cancel
Save