golang.org/x/tools/gopls@v0.15.3/internal/hooks/licenses.go (about) 1 // Copyright 2020 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:generate ./gen-licenses.sh licenses.go 6 package hooks 7 8 const licensesText = ` 9 -- github.com/BurntSushi/toml COPYING -- 10 11 The MIT License (MIT) 12 13 Copyright (c) 2013 TOML authors 14 15 Permission is hereby granted, free of charge, to any person obtaining a copy 16 of this software and associated documentation files (the "Software"), to deal 17 in the Software without restriction, including without limitation the rights 18 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 19 copies of the Software, and to permit persons to whom the Software is 20 furnished to do so, subject to the following conditions: 21 22 The above copyright notice and this permission notice shall be included in 23 all copies or substantial portions of the Software. 24 25 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 26 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 27 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 28 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 29 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 30 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 31 THE SOFTWARE. 32 33 -- github.com/google/go-cmp LICENSE -- 34 35 Copyright (c) 2017 The Go Authors. All rights reserved. 36 37 Redistribution and use in source and binary forms, with or without 38 modification, are permitted provided that the following conditions are 39 met: 40 41 * Redistributions of source code must retain the above copyright 42 notice, this list of conditions and the following disclaimer. 43 * Redistributions in binary form must reproduce the above 44 copyright notice, this list of conditions and the following disclaimer 45 in the documentation and/or other materials provided with the 46 distribution. 47 * Neither the name of Google Inc. nor the names of its 48 contributors may be used to endorse or promote products derived from 49 this software without specific prior written permission. 50 51 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 52 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 53 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 54 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 55 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 56 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 57 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 58 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 59 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 60 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 61 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 62 63 -- honnef.co/go/tools LICENSE -- 64 65 Copyright (c) 2016 Dominik Honnef 66 67 Permission is hereby granted, free of charge, to any person obtaining 68 a copy of this software and associated documentation files (the 69 "Software"), to deal in the Software without restriction, including 70 without limitation the rights to use, copy, modify, merge, publish, 71 distribute, sublicense, and/or sell copies of the Software, and to 72 permit persons to whom the Software is furnished to do so, subject to 73 the following conditions: 74 75 The above copyright notice and this permission notice shall be 76 included in all copies or substantial portions of the Software. 77 78 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 79 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 80 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 81 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 82 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 83 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 84 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 85 86 -- mvdan.cc/gofumpt LICENSE -- 87 88 Copyright (c) 2019, Daniel MartÃ. All rights reserved. 89 90 Redistribution and use in source and binary forms, with or without 91 modification, are permitted provided that the following conditions are 92 met: 93 94 * Redistributions of source code must retain the above copyright 95 notice, this list of conditions and the following disclaimer. 96 * Redistributions in binary form must reproduce the above 97 copyright notice, this list of conditions and the following disclaimer 98 in the documentation and/or other materials provided with the 99 distribution. 100 * Neither the name of the copyright holder nor the names of its 101 contributors may be used to endorse or promote products derived from 102 this software without specific prior written permission. 103 104 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 105 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 106 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 107 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 108 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 109 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 110 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 111 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 112 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 113 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 114 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 115 116 -- mvdan.cc/xurls/v2 LICENSE -- 117 118 Copyright (c) 2015, Daniel MartÃ. All rights reserved. 119 120 Redistribution and use in source and binary forms, with or without 121 modification, are permitted provided that the following conditions are 122 met: 123 124 * Redistributions of source code must retain the above copyright 125 notice, this list of conditions and the following disclaimer. 126 * Redistributions in binary form must reproduce the above 127 copyright notice, this list of conditions and the following disclaimer 128 in the documentation and/or other materials provided with the 129 distribution. 130 * Neither the name of the copyright holder nor the names of its 131 contributors may be used to endorse or promote products derived from 132 this software without specific prior written permission. 133 134 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 135 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 136 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 137 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 138 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 139 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 140 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 141 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 142 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 143 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 144 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 145 146 `