From f4de9667a90f319d76239267b9d7fe678079ca6f Mon Sep 17 00:00:00 2001 From: Sascha Andres Date: Fri, 9 Jun 2023 14:23:58 +0200 Subject: [PATCH] feat: use currect flag package --- go.mod | 5 +++-- go.sum | 9 +++++---- main.go | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index e3347dd..dd03fbf 100644 --- a/go.mod +++ b/go.mod @@ -4,10 +4,11 @@ go 1.20 require ( github.com/manifoldco/promptui v0.9.0 - github.com/sascha-andres/flag v0.3.2 + github.com/sascha-andres/reuse v0.0.6 ) require ( github.com/chzyer/readline v1.5.1 // indirect - golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect + golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect + golang.org/x/sys v0.1.0 // indirect ) diff --git a/go.sum b/go.sum index 82fd39e..bc5a248 100644 --- a/go.sum +++ b/go.sum @@ -9,10 +9,11 @@ github.com/chzyer/test v1.0.0 h1:p3BQDXSxOhOG0P9z6/hGnII4LGiEPOYBhs8asl/fC04= github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA= github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg= -github.com/sascha-andres/flag v0.3.2 h1:w6BfOf8Qsv//CNyr1IgGU1uy0RcnwrUfC/bMRCRcQ44= -github.com/sascha-andres/flag v0.3.2/go.mod h1:vLivnqR13U55g6zDgvp6QAL+AOtReHrdqgBAxYUU0bI= +github.com/sascha-andres/reuse v0.0.6 h1:viN30SwQXqAahq6poFr5RjV/bv4QDmemXTtdPvulqLY= +github.com/sascha-andres/reuse v0.0.6/go.mod h1:kWmLAAMzFLvPlUjQwFCZ/ohAzvQtlvUzpA4/Bpgrf4U= golang.org/x/exp v0.0.0-20230321023759-10a507213a29 h1:ooxPy7fPvB4kwsA2h+iBNHkAbp/4JxTSwCmvdjEYmug= +golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.1.0 h1:kunALQeHf1/185U1i0GOB/fy1IPRDDpuoOOqRReG57U= +golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= diff --git a/main.go b/main.go index 2eaff5e..fa68c34 100644 --- a/main.go +++ b/main.go @@ -7,10 +7,10 @@ import ( "path" "strings" - "github.com/sascha-andres/flag" "github.com/sascha-andres/gitc/internal" "github.com/sascha-andres/gitc/internal/builder" "github.com/sascha-andres/gitc/internal/linter" + "github.com/sascha-andres/reuse/flag" ) var (