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

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

View file

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

View file

@ -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"