legal.go 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Package misspell corrects commonly misspelled English words in source files.
  2. package misspell
  3. // Legal provides licensing info.
  4. const Legal = `
  5. Execept where noted below, the source code for misspell is
  6. copyright Nick Galbreath and distribution is allowed under a
  7. MIT license. See the following for details:
  8. * https://github.com/client9/misspell/blob/master/LICENSE
  9. * https://tldrlegal.com/license/mit-license
  10. Misspell makes uses of the Golang standard library and
  11. contains a modified version of Golang's strings.Replacer
  12. which are covered under a BSD License.
  13. * https://golang.org/pkg/strings/#Replacer
  14. * https://golang.org/src/strings/replace.go
  15. * https://github.com/golang/go/blob/master/LICENSE
  16. Copyright (c) 2009 The Go Authors. All rights reserved.
  17. Redistribution and use in source and binary forms, with or without
  18. modification, are permitted provided that the following conditions are
  19. met:
  20. * Redistributions of source code must retain the above copyright
  21. notice, this list of conditions and the following disclaimer.
  22. * Redistributions in binary form must reproduce the above
  23. copyright notice, this list of conditions and the following disclaimer
  24. in the documentation and/or other materials provided with the
  25. distribution.
  26. * Neither the name of Google Inc. nor the names of its
  27. contributors may be used to endorse or promote products derived from
  28. this software without specific prior written permission.
  29. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  30. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  31. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  32. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  33. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  34. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  35. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  36. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  37. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  38. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  39. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  40. `