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
|
```git clone this repo
|
||||||
cd podcatch
|
cd podcatch
|
||||||
go build
|
go build
|
||||||
chmod +x ./podCatch
|
chmod +x ./podcatch
|
||||||
./podCatch
|
./podcatch
|
||||||
```
|
```
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module podCatch
|
module podcatch
|
||||||
|
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
|
|
2
main.go
2
main.go
|
@ -1,6 +1,6 @@
|
||||||
package main
|
package main
|
||||||
import (
|
import (
|
||||||
"podCatch/podcatch"
|
"podcatch/podCatch"
|
||||||
)
|
)
|
||||||
func main(){
|
func main(){
|
||||||
podcatch.Start()
|
podcatch.Start()
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package podcatch
|
package podcatch
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
. "podCatch/structs"
|
. "podcatch/structs"
|
||||||
"github.com/pelletier/go-toml"
|
"github.com/pelletier/go-toml"
|
||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
"io"
|
"io"
|
Loading…
Reference in a new issue