reorganise so 'go build' works better
This commit is contained in:
parent
fb3dc64e3d
commit
9548de24e8
5 changed files with 6 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
|||
podCatch
|
||||
podcatch
|
||||
|
|
|
@ -20,8 +20,8 @@ Very simple install:
|
|||
```git clone this repo
|
||||
cd podcatch
|
||||
go build
|
||||
chmod +x ./podCatch
|
||||
./podCatch
|
||||
chmod +x ./podcatch
|
||||
./podcatch
|
||||
```
|
||||
|
||||
### Setup
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module podCatch
|
||||
module podcatch
|
||||
|
||||
go 1.16
|
||||
|
||||
|
|
2
main.go
2
main.go
|
@ -1,6 +1,6 @@
|
|||
package main
|
||||
import (
|
||||
"podCatch/podcatch"
|
||||
"podcatch/podCatch"
|
||||
)
|
||||
func main(){
|
||||
podcatch.Start()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package podcatch
|
||||
import (
|
||||
"fmt"
|
||||
. "podCatch/structs"
|
||||
. "podcatch/structs"
|
||||
"github.com/pelletier/go-toml"
|
||||
"encoding/xml"
|
||||
"io"
|
Loading…
Reference in a new issue