From c221b262ad44caf45030f155a19f7135dec8b2c9 Mon Sep 17 00:00:00 2001 From: aeneasr Date: Mon, 22 Oct 2018 19:34:30 -0700 Subject: [PATCH] Update tooling helpers Signed-off-by: aeneasr --- Makefile | 3 ++- go.mod | 1 + go.sum | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c3554e1a..9efe0fee 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,9 @@ init: go get -u github.com/sqs/goreturns + go install ./tools/listx format: - goreturns -w -i -local github.com/ory . + goreturns -w -i -local github.com/ory $(listx .) test: go test -race ./... diff --git a/go.mod b/go.mod index d7b8e525..1745decd 100644 --- a/go.mod +++ b/go.mod @@ -14,6 +14,7 @@ require ( github.com/julienschmidt/httprouter v0.0.0-20180715161854-348b672cd90d github.com/lib/pq v1.0.0 github.com/luna-duclos/instrumentedsql v0.0.0-20181016211422-eae529699c8a + github.com/mitchellh/go-homedir v1.0.0 // indirect github.com/opencontainers/go-digest v1.0.0-rc1 // indirect github.com/opencontainers/image-spec v1.0.1 // indirect github.com/opencontainers/runc v0.1.1 // indirect diff --git a/go.sum b/go.sum index 3673d263..fd5df75d 100644 --- a/go.sum +++ b/go.sum @@ -50,6 +50,8 @@ github.com/luna-duclos/instrumentedsql v0.0.0-20181016211422-eae529699c8a h1:c+X github.com/luna-duclos/instrumentedsql v0.0.0-20181016211422-eae529699c8a/go.mod h1:PWUIzhtavmOR965zfawVsHXbEuU1G29BPZ/CB3C7jXk= github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mitchellh/go-homedir v1.0.0 h1:vKb8ShqSby24Yrqr/yDYkuFz8d0WUjys40rvnGC8aR0= +github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.0.0 h1:vVpGvMXJPqSDh2VYHF7gsfQj8Ncx+Xw5Y1KHeTRY+7I= github.com/mitchellh/mapstructure v1.0.0/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw=