Skip to content

Commit

Permalink
chore(lib): copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudwindy committed Dec 17, 2023
1 parent 8e3fa42 commit f6c3e29
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[*.lua]
quote_style = single
quote_style = single
7 changes: 6 additions & 1 deletion lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ Libraries can depend on each other, but it is not encouraged to do so.
## Coding
1. For ease of use, code should not return error value as in golang. Instead, use ```lua.ArgError``` or ```lua.RaiseError```.
2. Avoid declaring global variables. Use prefixes (eg. ```_pkgname_GlobalVariable```) if you have to declare one.
3. Keep in mind that every time your library is loaded, it can be in different ```lua.LState``` and in different goroutine.
3. Keep in mind that every time your library is loaded, it can be in different ```lua.LState``` and in different goroutine.

## Copyright
For `http` `io` `odbc` `os` `re` `strings`:

See [original author](https://github.com/vadv/gopher-lua-libs).
1 change: 0 additions & 1 deletion lib/http/README.md

This file was deleted.

1 change: 0 additions & 1 deletion lib/io/README.md

This file was deleted.

1 change: 0 additions & 1 deletion lib/odbc/README.md

This file was deleted.

1 change: 0 additions & 1 deletion lib/os/README.md

This file was deleted.

1 change: 0 additions & 1 deletion lib/re/README.md

This file was deleted.

1 change: 0 additions & 1 deletion lib/strings/README.md

This file was deleted.

0 comments on commit f6c3e29

Please sign in to comment.