diff --git a/api/proj.go b/api/proj.go index 05fdd07a..ed43a8cc 100644 --- a/api/proj.go +++ b/api/proj.go @@ -1,8 +1,8 @@ package api import ( - "github.com/pengwynn/flint/flint" log "github.com/sirupsen/logrus" + "github.com/tyhal/flint/flint" "os" ) diff --git a/crie.go b/crie.go index f464aa19..40beb481 100644 --- a/crie.go +++ b/crie.go @@ -12,7 +12,7 @@ import ( var majorNum = "0" var minorOffset = 0 -var patchNum = "43" +var patchNum = "44" var quote = ` |> crie: the act of crying and dying at the same time diff --git a/go.mod b/go.mod index 42c85af5..350075b6 100644 --- a/go.mod +++ b/go.mod @@ -2,31 +2,23 @@ module github.com/tyhal/crie go 1.13 -replace github.com/pengwynn/flint => github.com/tyhal/flint v0.1.2-crie - -replace github.com/yoheimuta/protolint => github.com/tyhal/protolint v0.23.2-crie - require ( + github.com/Microsoft/go-winio v0.4.14 // indirect github.com/docker/distribution v2.7.1+incompatible // indirect github.com/docker/docker v1.13.1 github.com/docker/go-connections v0.4.0 // indirect github.com/docker/go-units v0.4.0 // indirect github.com/errata-ai/vale v1.7.1 github.com/fatih/color v1.9.0 - github.com/hashicorp/yamux v0.0.0-20190923154419-df201c70410d // indirect - github.com/mitchellh/go-testing-interface v1.0.0 // indirect github.com/olekukonko/tablewriter v0.0.0-20170719101040-be5337e7b39e github.com/opencontainers/go-digest v1.0.0-rc1 // indirect - github.com/pengwynn/flint v0.1.0 github.com/sirupsen/logrus v1.5.0 github.com/spf13/cobra v0.0.7 - github.com/stretchr/testify v1.4.0 // indirect - github.com/yoheimuta/protolint v0.25.0 + github.com/tyhal/flint v0.1.4-crie + github.com/tyhal/protolint v0.25.3-crie golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6 // indirect golang.org/x/sys v0.0.0-20191210023423-ac6580df4449 // indirect google.golang.org/appengine v1.6.5 // indirect - google.golang.org/genproto v0.0.0-20191206224255-0243a4be9c8f // indirect gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect gopkg.in/yaml.v2 v2.2.7 - mvdan.cc/sh v2.6.4+incompatible // indirect ) diff --git a/go.sum b/go.sum index 4dafcde7..408364b8 100644 --- a/go.sum +++ b/go.sum @@ -27,6 +27,8 @@ github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3Ee github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= +github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= +github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM= github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -58,6 +60,8 @@ github.com/fatih/color v1.9.0 h1:8xPHl4/q1VyqGIPif1F+1V3Y3lSmrq01EabUW3CoW5s= github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= github.com/frankban/quicktest v1.4.1/go.mod h1:36zfPVQyHxymz4cH7wlDmVwDrJuljRB60qkgn7rorfQ= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/gertd/go-pluralize v0.1.1 h1:fQhql/WRRwr4TVp+TCw12s2esCacvEVBdkTUUwNqF/Q= +github.com/gertd/go-pluralize v0.1.1/go.mod h1:t5DfHcumb6m0RqyVJDrDLEzL2AGeaiqUXIcDNwLaeAs= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= @@ -207,6 +211,7 @@ github.com/russross/blackfriday v0.0.0-20151110051855-0b647d0506a6 h1:NCdCpzq6sA github.com/russross/blackfriday v0.0.0-20151110051855-0b647d0506a6/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo= github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= +github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/shogo82148/go-shuffle v0.0.0-20170226075450-4789c7c401f2 h1:8+n3ByPah5vdCpEZHjOQ/ZPB0d4fCQOo8c57hJSbboo= github.com/shogo82148/go-shuffle v0.0.0-20170226075450-4789c7c401f2/go.mod h1:2htx6lmL0NGLHlO8ZCf+lQBGBHIbEujyywxJArf+2Yc= @@ -247,17 +252,26 @@ github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0 github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tyhal/flint v0.1.1-0.20190910041934-2c1aefd43719 h1:8Z7MEjN1vNlK7eXiosX5MRJ4CEGVjbvB2TZ/EbLEePo= github.com/tyhal/flint v0.1.1-0.20190910041934-2c1aefd43719/go.mod h1:sCyXW6FRp48K/jDjqW2sZb122JHLrYefCaowNAVt89E= +github.com/tyhal/flint v0.1.2-crie/go.mod h1:SpGY9pcsOL5lgYUmy6NBoWpu8hk/yf/ume3rNtKYmEU= +github.com/tyhal/flint v0.1.4-crie h1:p1+ahZ6Jg91pG78tXH45xJLRmOw3FlObhv6xP5GxKmE= +github.com/tyhal/flint v0.1.4-crie/go.mod h1:9hkjAf0rpnDY8RPDHFWcMJETzUSy5JBnLLJBhT3BA30= github.com/tyhal/protolint v0.23.2-crie h1:6K6ajC3Rjwg6pFLU8zYeA0YEiuIa2TCay2f+SnFdtJg= github.com/tyhal/protolint v0.23.2-crie/go.mod h1:Hs1cTZhzk+CmuZmiVEivw+fv9anDXgF/lzitleIjWwU= +github.com/tyhal/protolint v0.25.3-crie h1:UfjP8z31lr3ylJJ70bXB0cEinEzjp+35HtdBR0/NAKs= +github.com/tyhal/protolint v0.25.3-crie/go.mod h1:1OT7gzY+iwdLs5XAK/hN0BGYFZr3tIxVAvZTUhL6E5M= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/ulikunitz/xz v0.5.6 h1:jGHAfXawEGZQ3blwU5wnWKQJvAraT7Ftq9EXjnXYgt8= github.com/ulikunitz/xz v0.5.6/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= github.com/urfave/cli v1.19.1 h1:0mKm4ZoB74PxYmZVua162y1dGt1qc10MyymYRBf3lb8= github.com/urfave/cli v1.19.1/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.22.4 h1:u7tSpNPPswAFymm8IehJhy4uJMlUuU/GmqSkvJ1InXA= +github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 h1:nIPpBwaJSVYIxUFsDv3M8ofmx9yWTog9BfvIu0q41lo= github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= @@ -266,6 +280,8 @@ github.com/xrash/smetrics v0.0.0-20170218160415-a3153f7040e9 h1:w8V9v0qVympSF6Gj github.com/xrash/smetrics v0.0.0-20170218160415-a3153f7040e9/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8= github.com/yoheimuta/go-protoparser/v4 v4.1.0 h1:qdJ0kDEzHCZpuvU5jaHT6/+GfGxh6EtzZMyyZULWD7M= github.com/yoheimuta/go-protoparser/v4 v4.1.0/go.mod h1:AHNNnSWnb0UoL4QgHPiOAg2BniQceFscPI5X/BZNHl8= +github.com/yoheimuta/go-protoparser/v4 v4.2.0 h1:fv8kXyAPg79nbofyn605+ChewmT4sr+pOfHeVQKOWbg= +github.com/yoheimuta/go-protoparser/v4 v4.2.0/go.mod h1:AHNNnSWnb0UoL4QgHPiOAg2BniQceFscPI5X/BZNHl8= github.com/yoheimuta/protolint v0.23.1 h1:fcDUIq2tLNH0UsqeCuZiU3dA2WpsWm34uyyDXUbE548= github.com/yoheimuta/protolint v0.23.1/go.mod h1:Hs1cTZhzk+CmuZmiVEivw+fv9anDXgF/lzitleIjWwU= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= @@ -373,6 +389,8 @@ gopkg.in/yaml.v2 v2.2.5 h1:ymVxjfMaHvXD8RqPRmzHHsB3VvucivSkIAvJFDI5O3c= gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.7 h1:VUgggvou5XRW9mHwD/yXxIYSMtY0zoKQf/v226p2nyo= gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= mvdan.cc/sh v2.6.4+incompatible h1:eD6tDeh0pw+/TOTI1BBEryZ02rD2nMcFsgcvde7jffM= diff --git a/imp/proto.go b/imp/proto.go index 82719ff7..0130c1c1 100644 --- a/imp/proto.go +++ b/imp/proto.go @@ -5,7 +5,7 @@ package imp import ( "bytes" "github.com/tyhal/crie/api/linter" - "github.com/yoheimuta/protolint/api" + "github.com/tyhal/protolint/api" "math" )