Convert tabs to white spaces

This commit is contained in:
Kleissner
2021-03-16 14:36:17 +01:00
parent 842d5c7c7b
commit e8b53051f2

View File

@@ -10,25 +10,25 @@ Current version: 0.1 (pre-alpha)
package main package main
import ( import (
"fmt" "fmt"
"os" "os"
"github.com/PeernetOfficial/core" "github.com/PeernetOfficial/core"
) )
func init() { func init() {
if status, err := core.LoadConfig("Settings.yaml"); err != nil { if status, err := core.LoadConfig("Settings.yaml"); err != nil {
fmt.Printf("Error loading config file: %s", err.Error()) fmt.Printf("Error loading config file: %s", err.Error())
os.Exit(1) os.Exit(1)
} }
core.InitLog() core.InitLog()
core.Init() core.Init()
core.UserAgent = "Your application/1.0" core.UserAgent = "Your application/1.0"
} }
func main() { func main() {
core.Connect() core.Connect()
// use functions from core package, for example to find and download files // use functions from core package, for example to find and download files
} }