Skip to content

Commit

Permalink
changed to Unlicense, added license file
Browse files Browse the repository at this point in the history
  • Loading branch information
mitranim committed Sep 2, 2020
1 parent 1177575 commit 757f6c1
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
!/go.mod
!/go.sum
!/readme.md
!/unlicense
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ First tagged release.

## License

https://en.wikipedia.org/wiki/WTFPL
https://unlicense.org

## Misc

Expand Down
2 changes: 1 addition & 1 deletion refut.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func TraverseStructType(val interface{}, fun func(reflect.StructField, []int) er

/*
Variant of `TraverseStructType` that takes a `reflect.Type` as the input. See
`TraverseStruct` for the documentation.
`TraverseStructType` for the documentation.
If the input is not a struct type, or if the callback is nil, this function
panics. Returned errors are always from the callback.
Expand Down
24 changes: 24 additions & 0 deletions unlicense
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

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 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.

For more information, please refer to <http://unlicense.org/>

0 comments on commit 757f6c1

Please sign in to comment.