Skip to content

Commit

Permalink
upgrade to go1.12.1, gohomedir is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas-fi committed Mar 16, 2019
1 parent d1c405e commit 3f97f10
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
9 changes: 0 additions & 9 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pkg/varastoclient/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"github.com/function61/gokit/fileexists"
"github.com/function61/gokit/jsonfile"
gohomedir "github.com/mitchellh/go-homedir"
"github.com/spf13/cobra"
"io"
"os"
Expand Down Expand Up @@ -48,7 +47,7 @@ func readConfig() (*ClientConfig, error) {
}

func configFilePath() (string, error) {
usersHomeDirectory, err := gohomedir.Dir()
usersHomeDirectory, err := os.UserHomeDir()
if err != nil {
return "", err
}
Expand Down
2 changes: 1 addition & 1 deletion turbobob.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"builders": [
{
"name": "default",
"uses": "docker://fn61/buildkit-golang:20190215_1406_9218bf67",
"uses": "docker://fn61/buildkit-golang:20190316_0913_96b56b86",
"mount_source": "",
"mount_destination": "/go/src/github.com/function61/varasto",
"workdir": "/go/src/github.com/function61/varasto",
Expand Down

1 comment on commit 3f97f10

@joonas-fi
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implements #11

Please sign in to comment.