diff --git a/dirs/go.mod b/dirs/go.mod index 7ad46d3..68e4283 100644 --- a/dirs/go.mod +++ b/dirs/go.mod @@ -1,3 +1,5 @@ module github.com/nmiyake/pkg/dirs go 1.13 + +require github.com/nmiyake/pkg v0.0.1 diff --git a/dirs/go.sum b/dirs/go.sum new file mode 100644 index 0000000..a1208bb --- /dev/null +++ b/dirs/go.sum @@ -0,0 +1,2 @@ +github.com/nmiyake/pkg v0.0.1 h1:LooujgshxOHQsPpluVqzOwBV9dUEZXIxOkotRMXbBGQ= +github.com/nmiyake/pkg v0.0.1/go.mod h1:078BHtQj5Tk8Im6EpMHR0/Stp79lwL3FIRiGaC9hTDM= diff --git a/dirs/main.go b/dirs/main.go new file mode 100644 index 0000000..dc0666f --- /dev/null +++ b/dirs/main.go @@ -0,0 +1,9 @@ +// +build module + +// This file exists only to smooth the transition for modules. Having this file makes it such that other modules that +// consume this module will not have import path conflicts caused by github.com/nmiyake/pkg. +package main + +import ( + _ "github.com/nmiyake/pkg" +) diff --git a/dirs/vendor/github.com/nmiyake/pkg/.gitignore b/dirs/vendor/github.com/nmiyake/pkg/.gitignore new file mode 100644 index 0000000..7d89b9c --- /dev/null +++ b/dirs/vendor/github.com/nmiyake/pkg/.gitignore @@ -0,0 +1,4 @@ +*.iml +*.ipr +*.iws +.idea/ diff --git a/dirs/vendor/github.com/nmiyake/pkg/LICENSE b/dirs/vendor/github.com/nmiyake/pkg/LICENSE new file mode 100644 index 0000000..bc6344a --- /dev/null +++ b/dirs/vendor/github.com/nmiyake/pkg/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Nick Miyake + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/dirs/vendor/github.com/nmiyake/pkg/README.md b/dirs/vendor/github.com/nmiyake/pkg/README.md new file mode 100644 index 0000000..a790808 --- /dev/null +++ b/dirs/vendor/github.com/nmiyake/pkg/README.md @@ -0,0 +1,3 @@ +pkg +=== +A collection of Go packages. Refer to the Go documentation of the individual packages for details. diff --git a/dirs/vendor/github.com/nmiyake/pkg/go.mod b/dirs/vendor/github.com/nmiyake/pkg/go.mod new file mode 100644 index 0000000..6c9c440 --- /dev/null +++ b/dirs/vendor/github.com/nmiyake/pkg/go.mod @@ -0,0 +1,3 @@ +module github.com/nmiyake/pkg + +go 1.13 diff --git a/dirs/vendor/github.com/nmiyake/pkg/main.go b/dirs/vendor/github.com/nmiyake/pkg/main.go new file mode 100644 index 0000000..8788c6a --- /dev/null +++ b/dirs/vendor/github.com/nmiyake/pkg/main.go @@ -0,0 +1,6 @@ +// +build module + +// This file exists only to smooth the transition for modules. Having this file allows other modules to declare a +// dependency on the github.com/nmiyake/pkg module, which provides a mechanism for avoiding duplicate import path +// issues for modules that have a dependency on the pre-module github.com/nmiyake/pkg repository. +package main diff --git a/dirs/vendor/modules.txt b/dirs/vendor/modules.txt new file mode 100644 index 0000000..45b0d6f --- /dev/null +++ b/dirs/vendor/modules.txt @@ -0,0 +1,2 @@ +# github.com/nmiyake/pkg v0.0.1 +github.com/nmiyake/pkg diff --git a/errorstringer/go.mod b/errorstringer/go.mod index c69b27e..88065e9 100644 --- a/errorstringer/go.mod +++ b/errorstringer/go.mod @@ -2,4 +2,7 @@ module github.com/nmiyake/pkg/errorstringer go 1.13 -require github.com/pkg/errors v0.8.1 +require ( + github.com/nmiyake/pkg v0.0.1 + github.com/pkg/errors v0.8.1 +) diff --git a/errorstringer/go.sum b/errorstringer/go.sum index f29ab35..05dcf4c 100644 --- a/errorstringer/go.sum +++ b/errorstringer/go.sum @@ -1,2 +1,4 @@ +github.com/nmiyake/pkg v0.0.1 h1:LooujgshxOHQsPpluVqzOwBV9dUEZXIxOkotRMXbBGQ= +github.com/nmiyake/pkg v0.0.1/go.mod h1:078BHtQj5Tk8Im6EpMHR0/Stp79lwL3FIRiGaC9hTDM= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/errorstringer/main.go b/errorstringer/main.go new file mode 100644 index 0000000..dc0666f --- /dev/null +++ b/errorstringer/main.go @@ -0,0 +1,9 @@ +// +build module + +// This file exists only to smooth the transition for modules. Having this file makes it such that other modules that +// consume this module will not have import path conflicts caused by github.com/nmiyake/pkg. +package main + +import ( + _ "github.com/nmiyake/pkg" +) diff --git a/errorstringer/vendor/github.com/nmiyake/pkg/.gitignore b/errorstringer/vendor/github.com/nmiyake/pkg/.gitignore new file mode 100644 index 0000000..7d89b9c --- /dev/null +++ b/errorstringer/vendor/github.com/nmiyake/pkg/.gitignore @@ -0,0 +1,4 @@ +*.iml +*.ipr +*.iws +.idea/ diff --git a/errorstringer/vendor/github.com/nmiyake/pkg/LICENSE b/errorstringer/vendor/github.com/nmiyake/pkg/LICENSE new file mode 100644 index 0000000..bc6344a --- /dev/null +++ b/errorstringer/vendor/github.com/nmiyake/pkg/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Nick Miyake + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/errorstringer/vendor/github.com/nmiyake/pkg/README.md b/errorstringer/vendor/github.com/nmiyake/pkg/README.md new file mode 100644 index 0000000..a790808 --- /dev/null +++ b/errorstringer/vendor/github.com/nmiyake/pkg/README.md @@ -0,0 +1,3 @@ +pkg +=== +A collection of Go packages. Refer to the Go documentation of the individual packages for details. diff --git a/errorstringer/vendor/github.com/nmiyake/pkg/go.mod b/errorstringer/vendor/github.com/nmiyake/pkg/go.mod new file mode 100644 index 0000000..6c9c440 --- /dev/null +++ b/errorstringer/vendor/github.com/nmiyake/pkg/go.mod @@ -0,0 +1,3 @@ +module github.com/nmiyake/pkg + +go 1.13 diff --git a/errorstringer/vendor/github.com/nmiyake/pkg/main.go b/errorstringer/vendor/github.com/nmiyake/pkg/main.go new file mode 100644 index 0000000..8788c6a --- /dev/null +++ b/errorstringer/vendor/github.com/nmiyake/pkg/main.go @@ -0,0 +1,6 @@ +// +build module + +// This file exists only to smooth the transition for modules. Having this file allows other modules to declare a +// dependency on the github.com/nmiyake/pkg module, which provides a mechanism for avoiding duplicate import path +// issues for modules that have a dependency on the pre-module github.com/nmiyake/pkg repository. +package main diff --git a/errorstringer/vendor/modules.txt b/errorstringer/vendor/modules.txt index 4ab55d0..bb2aa22 100644 --- a/errorstringer/vendor/modules.txt +++ b/errorstringer/vendor/modules.txt @@ -1,2 +1,4 @@ +# github.com/nmiyake/pkg v0.0.1 +github.com/nmiyake/pkg # github.com/pkg/errors v0.8.1 github.com/pkg/errors diff --git a/gofiles/go.mod b/gofiles/go.mod index 956a200..cc4b230 100644 --- a/gofiles/go.mod +++ b/gofiles/go.mod @@ -3,6 +3,7 @@ module github.com/nmiyake/pkg/gofiles go 1.13 require ( + github.com/nmiyake/pkg v0.0.1 github.com/nmiyake/pkg/dirs v1.0.0 github.com/stretchr/testify v1.4.0 ) diff --git a/gofiles/go.sum b/gofiles/go.sum index 2a33174..4eabcbb 100644 --- a/gofiles/go.sum +++ b/gofiles/go.sum @@ -1,5 +1,7 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/nmiyake/pkg v0.0.1 h1:LooujgshxOHQsPpluVqzOwBV9dUEZXIxOkotRMXbBGQ= +github.com/nmiyake/pkg v0.0.1/go.mod h1:078BHtQj5Tk8Im6EpMHR0/Stp79lwL3FIRiGaC9hTDM= github.com/nmiyake/pkg/dirs v1.0.0 h1:pYeIw1wH7jh5/ew8naGE4Q56byJG7Uyi8PwwhVe/MTg= github.com/nmiyake/pkg/dirs v1.0.0/go.mod h1:r6/PkZ3CA1szGfQkxcHheEjBWi6Zu6jLb+lQmRXEyvM= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/gofiles/main.go b/gofiles/main.go new file mode 100644 index 0000000..dc0666f --- /dev/null +++ b/gofiles/main.go @@ -0,0 +1,9 @@ +// +build module + +// This file exists only to smooth the transition for modules. Having this file makes it such that other modules that +// consume this module will not have import path conflicts caused by github.com/nmiyake/pkg. +package main + +import ( + _ "github.com/nmiyake/pkg" +) diff --git a/gofiles/vendor/github.com/nmiyake/pkg/.gitignore b/gofiles/vendor/github.com/nmiyake/pkg/.gitignore new file mode 100644 index 0000000..7d89b9c --- /dev/null +++ b/gofiles/vendor/github.com/nmiyake/pkg/.gitignore @@ -0,0 +1,4 @@ +*.iml +*.ipr +*.iws +.idea/ diff --git a/gofiles/vendor/github.com/nmiyake/pkg/LICENSE b/gofiles/vendor/github.com/nmiyake/pkg/LICENSE new file mode 100644 index 0000000..bc6344a --- /dev/null +++ b/gofiles/vendor/github.com/nmiyake/pkg/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 Nick Miyake + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/gofiles/vendor/github.com/nmiyake/pkg/README.md b/gofiles/vendor/github.com/nmiyake/pkg/README.md new file mode 100644 index 0000000..a790808 --- /dev/null +++ b/gofiles/vendor/github.com/nmiyake/pkg/README.md @@ -0,0 +1,3 @@ +pkg +=== +A collection of Go packages. Refer to the Go documentation of the individual packages for details. diff --git a/gofiles/vendor/github.com/nmiyake/pkg/go.mod b/gofiles/vendor/github.com/nmiyake/pkg/go.mod new file mode 100644 index 0000000..6c9c440 --- /dev/null +++ b/gofiles/vendor/github.com/nmiyake/pkg/go.mod @@ -0,0 +1,3 @@ +module github.com/nmiyake/pkg + +go 1.13 diff --git a/gofiles/vendor/github.com/nmiyake/pkg/main.go b/gofiles/vendor/github.com/nmiyake/pkg/main.go new file mode 100644 index 0000000..8788c6a --- /dev/null +++ b/gofiles/vendor/github.com/nmiyake/pkg/main.go @@ -0,0 +1,6 @@ +// +build module + +// This file exists only to smooth the transition for modules. Having this file allows other modules to declare a +// dependency on the github.com/nmiyake/pkg module, which provides a mechanism for avoiding duplicate import path +// issues for modules that have a dependency on the pre-module github.com/nmiyake/pkg repository. +package main diff --git a/gofiles/vendor/modules.txt b/gofiles/vendor/modules.txt index a42451d..593f3ea 100644 --- a/gofiles/vendor/modules.txt +++ b/gofiles/vendor/modules.txt @@ -1,5 +1,7 @@ # github.com/davecgh/go-spew v1.1.0 github.com/davecgh/go-spew/spew +# github.com/nmiyake/pkg v0.0.1 +github.com/nmiyake/pkg # github.com/nmiyake/pkg/dirs v1.0.0 github.com/nmiyake/pkg/dirs # github.com/pmezard/go-difflib v1.0.0