refactor: 重构trustlog-sdk目录结构到trustlog/go-trustlog
- 将所有trustlog-sdk文件移动到trustlog/go-trustlog/目录 - 更新README中所有import路径从trustlog-sdk改为go-trustlog - 更新cookiecutter配置文件中的项目名称 - 更新根目录.lefthook.yml以引用新位置的配置 - 添加go.sum文件到版本控制 - 删除过时的示例文件 这次重构与trustlog-server保持一致的目录结构, 为未来支持多语言SDK(Python、Java等)预留空间。
This commit is contained in:
18
cookiecutter-config-file.yml
Normal file
18
cookiecutter-config-file.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
# This project was generated using a Cookiecutter template:
|
||||
# https://github.com/daotl/go-template
|
||||
|
||||
cookiecutter_inputs:
|
||||
project_name: "go-trustlog"
|
||||
go_module_path: "gitea.internetapi.cn/trustlog-sd"
|
||||
license_owner: "example"
|
||||
base_branch: "main"
|
||||
contact_email: ""
|
||||
project_description: "TrustlogSdk is a Go application created using https://github.com/daotl/go-template"
|
||||
github_specific_features: "n"
|
||||
private_project: "y"
|
||||
use_codecov: "y"
|
||||
use_lefthook: "y"
|
||||
use_precommit: "y"
|
||||
go_version: "1.24"
|
||||
go_toolchain_version: "1.24.5"
|
||||
license: "MIT"
|
||||
Reference in New Issue
Block a user