github.com/henvic/wedeploycli@v1.7.6-0.20200319005353-3630f582f284/legal/extra/licenses.go (about) 1 // Package extra resolves legal compliance for copy & pasted code. 2 // If you need something pretty small it is wise to copy & paste code. 3 // This is common good recommended practice on the Go community. 4 // "A little copying is better than a little dependency." 5 // Watch "Go Proverbs", by Rob Pike. 6 // https://go-proverbs.github.io 7 // https://www.youtube.com/watch?v=PAAkCSZUG1c&t=9m28s 8 package extra 9 10 // Licenses of extra dependency that are used on binary files, 11 // but instead of being availble on the vendor directory, 12 // are copied somewhere else. 13 var Licenses = []License{ 14 License{ 15 Name: "Go", 16 Package: "github.com/golang/go", 17 LicensePath: "extra/licenses/GOLANG_LICENSE", 18 }, 19 License{ 20 Name: "moby", 21 Package: "github.com/moby/moby", 22 Notes: "modified", 23 LicensePath: "extra/licenses/DOCKER_LICENSE", // Apache License 2.0 24 // Files: 25 // github.com/henvic/wedeploycli/namesgenerator 26 // github.com/henvic/wedeploycli/templates 27 }, 28 License{ 29 Name: "color", 30 Package: "github.com/fatih/color", 31 Notes: "heavily modified", 32 LicensePath: "extra/licenses/COLOR_LICENSE", // MIT 33 // Files: 34 // github.com/henvic/wedeploycli/color 35 }, 36 License{ 37 Name: "figures", 38 Package: "github.com/sindresorhus/figures", 39 Notes: "heavily simplified", 40 LicensePath: "extra/licenses/FIGURES_LICENSE", // MIT 41 // Files: 42 // github.com/henvic/wedeploycli/figures 43 }, 44 License{ 45 Name: "buffruneio", 46 Package: "github.com/pelletier/go-buffruneio", 47 LicensePath: "extra/licenses/BUFFRUNEIO_LICENSE", // MIT 48 // Files: 49 // github.com/pelletier/go-buffruneio (vendored) 50 // See https://github.com/pelletier/go-buffruneio/issues/6 51 }, 52 }