Skip to content

Commit f45722e

Browse files
committed
Move private code into internal/trousseau
1 parent 486b685 commit f45722e

26 files changed

+14
-4
lines changed

cmd/trousseau/before.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/oleiade/trousseau"
4+
"github.com/oleiade/trousseau/internal/trousseau"
55
"github.com/urfave/cli"
66
)
77

cmd/trousseau/commands.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"os"
77
"path/filepath"
88

9-
"github.com/oleiade/trousseau"
9+
"github.com/oleiade/trousseau/internal/trousseau"
1010
"github.com/urfave/cli"
1111
)
1212

cmd/trousseau/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"os"
55

6-
"github.com/oleiade/trousseau"
6+
"github.com/oleiade/trousseau/internal/trousseau"
77
"github.com/urfave/cli"
88
)
99

go.mod

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ require (
99
github.com/google/go-querystring v0.0.0-20160401233042-9235644dd9e5
1010
github.com/guelfey/go.dbus v0.0.0-20131113121618-f6a3a2366cc3
1111
github.com/howeyc/gopass v0.0.0-20160803164817-b63a7d07e65d
12+
github.com/kr/pretty v0.1.0 // indirect
1213
github.com/oleiade/reflections v0.0.0-20131121131850-632977f98cd3
1314
github.com/oleiade/serrure v0.0.0-20160812094227-28794589ac9b
1415
github.com/oleiade/tempura v0.0.0-20140528162001-1e4f5790d506
@@ -19,4 +20,5 @@ require (
1920
golang.org/x/crypto v0.0.0-20160812214243-6c932297e160
2021
golang.org/x/net v0.0.0-20160811235142-07b51741c1d6
2122
golang.org/x/oauth2 v0.0.0-20160810173516-4784bb855e56
23+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
2224
)

go.sum

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ github.com/google/go-querystring v0.0.0-20160401233042-9235644dd9e5/go.mod h1:od
99
github.com/guelfey/go.dbus v0.0.0-20131113121618-f6a3a2366cc3/go.mod h1:0CNX5Cvi77WEH8llpfZ/ieuqyceb1cnO5//b5zzsnF8=
1010
github.com/howeyc/gopass v0.0.0-20160803164817-b63a7d07e65d h1:QSXZhkCwA1j3WbSVEnxB+9sPsuthBgvpi4BUTaYPc6E=
1111
github.com/howeyc/gopass v0.0.0-20160803164817-b63a7d07e65d/go.mod h1:lADxMC39cJJqL93Duh1xhAs4I2Zs8mKS89XWXFGp9cs=
12+
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
13+
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
14+
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
15+
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
16+
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
1217
github.com/oleiade/reflections v0.0.0-20131121131850-632977f98cd3 h1:shfb0dwW+oUvt8GjdLeitj0PpE4hw9mN6WXZ4OAf9DY=
1318
github.com/oleiade/reflections v0.0.0-20131121131850-632977f98cd3/go.mod h1:RbATFBbKYkVdqmSFtx13Bb/tVhR0lgOBXunWTZKeL4w=
1419
github.com/oleiade/serrure v0.0.0-20160812094227-28794589ac9b h1:3D0HyVLogm3spti98Jp9tRAEkgLq0dzLVVNcTD6/DxA=
@@ -29,3 +34,5 @@ golang.org/x/net v0.0.0-20160811235142-07b51741c1d6 h1:A/+8dHDavelB1CB3VF5cdxIxp
2934
golang.org/x/net v0.0.0-20160811235142-07b51741c1d6/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
3035
golang.org/x/oauth2 v0.0.0-20160810173516-4784bb855e56 h1:HiiJye4gG8Fcv2Y07oKLC/LLoWZ2DWq9d/hBK0B+aSY=
3136
golang.org/x/oauth2 v0.0.0-20160810173516-4784bb855e56/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
37+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
38+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

kv.go internal/trousseau/kv.go

File renamed without changes.
File renamed without changes.
File renamed without changes.

meta.go internal/trousseau/meta.go

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

upgrade_test.go internal/trousseau/upgrade_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package trousseau
22

33
import (
44
"encoding/json"
5-
"github.com/oleiade/serrure/openpgp"
65
"testing"
6+
7+
"github.com/oleiade/serrure/openpgp"
78
)
89

910
func TestIsVersionZeroDotThree(t *testing.T) {
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)