default package

This commit is contained in:
Meutel 2017-07-09 17:00:24 +02:00
parent 47bd07057a
commit 832053aa2c

View File

@ -3,7 +3,7 @@ package main
import "fmt"
import "log"
import "os"
import "meutel.net/meutel/go-examples/converter"
import . "meutel.net/meutel/go-examples/converter"
func main() {
if len(os.Args) < 3 {
@ -12,7 +12,7 @@ func main() {
input := os.Args[1]
convTo := os.Args[2]
result, err := converter.Convert(input, convTo)
result, err := Convert(input, convTo)
if err != nil {
log.Fatalln(err)
}