From a20368a39b45878b17218d445dd751128838b799 Mon Sep 17 00:00:00 2001 From: skyle1995 Date: Sun, 26 Oct 2025 20:51:25 +0800 Subject: [PATCH] Update the open source license --- .gitignore | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++-- LICENSE | 3 +- 2 files changed, 105 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 1b7fcfb..d72cd57 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,107 @@ +# 编译后的二进制文件 +networkDev +networkDev.exe +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Go 相关 +*.test +*.out +go.work +go.work.sum + +# 数据库文件 /database.db /recharge.db -logs -模板 -.DS_Store +*.db +*.sqlite +*.sqlite3 + +# 配置文件 (包含敏感信息) config.json +config.yaml +config.yml +.env +.env.local +.env.production + +# 日志文件 +logs/ +*.log +log/ + +# 临时文件 +*.tmp +*.temp +*.swp +*.swo +*~ node.txt -networkDev \ No newline at end of file +模板 + +# IDE 和编辑器 +.vscode/settings.json +.vscode/tasks.json +.vscode/extensions.json +# .vscode/launch.json # 保留调试配置 +.idea/ +*.iml +*.ipr +*.iws +.project +.classpath +.settings/ +*.sublime-project +*.sublime-workspace + +# 操作系统 +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db +Desktop.ini + +# 依赖和包管理 +vendor/ +node_modules/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# 测试覆盖率 +coverage.txt +coverage.out +*.cover +*.coverprofile + +# 文档生成 +docs/_build/ +site/ + +# 备份文件 +*.bak +*.backup +*.orig + +# 压缩文件 +*.zip +*.tar.gz +*.rar +*.7z + +# 证书和密钥文件 +*.pem +*.key +*.crt +*.p12 +*.pfx + +# 运行时文件 +*.pid +*.sock \ No newline at end of file diff --git a/LICENSE b/LICENSE index 4fce430..53986ed 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ MIT License Copyright (c) 2025 skyle1995 (https://github.com/skyle1995) + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights @@ -17,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 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. \ No newline at end of file +SOFTWARE.