reorganise so 'go build' works better

This commit is contained in:
Paul Wilde 2021-05-25 22:22:48 +01:00
parent fb3dc64e3d
commit 9548de24e8
5 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
podCatch
podcatch

View file

@ -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
View file

@ -1,4 +1,4 @@
module podCatch
module podcatch
go 1.16

View file

@ -1,6 +1,6 @@
package main
import (
"podCatch/podcatch"
"podcatch/podCatch"
)
func main(){
podcatch.Start()

View file

@ -1,7 +1,7 @@
package podcatch
import (
"fmt"
. "podCatch/structs"
. "podcatch/structs"
"github.com/pelletier/go-toml"
"encoding/xml"
"io"