{"id":24767326,"url":"https://github.com/lunarianss/go-vblog","last_synced_at":"2026-04-19T03:02:40.527Z","repository":{"id":193617194,"uuid":"689179352","full_name":"lunarianss/Go-Vblog","owner":"lunarianss","description":"基于领域驱动的代码组织架构 开发的 vblog 系统, 协议支持:  HTTP, GRPC , 集成 cmd, etc, conf version, apps 等包进行项目工程化，IOC 容器管理服务依赖，项目架构分层解耦","archived":false,"fork":false,"pushed_at":"2023-09-09T10:36:22.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T00:29:59.792Z","etag":null,"topics":["apps","cmd","confi","etc","golang","gorm","grpc","http","version"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lunarianss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-09T02:31:17.000Z","updated_at":"2023-09-09T10:37:55.000Z","dependencies_parsed_at":"2024-10-31T03:17:00.801Z","dependency_job_id":"e61b0f98-fc5c-422b-8ece-833448e08039","html_url":"https://github.com/lunarianss/Go-Vblog","commit_stats":null,"previous_names":["ryan-eng-del/go-vblog","lunarianss/go-vblog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lunarianss/Go-Vblog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunarianss%2FGo-Vblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunarianss%2FGo-Vblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunarianss%2FGo-Vblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunarianss%2FGo-Vblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lunarianss","download_url":"https://codeload.github.com/lunarianss/Go-Vblog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunarianss%2FGo-Vblog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31992822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apps","cmd","confi","etc","golang","gorm","grpc","http","version"],"created_at":"2025-01-29T00:53:07.618Z","updated_at":"2026-04-19T03:02:40.500Z","avatar_url":"https://github.com/lunarianss.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n## 项目骨架\n\n```sh\n├── Makefile # Makefile项目脚手架\n├── README.md # 项目说明文档\n├── apps # 业务模块, 管理着所有的业务服务\n│   ├── README.md\n│   ├── all # 业务模块加载模块\n│   │   └── impl.go\n│   ├── blog    # blog 服务模块\n│   │   ├── README.md\n│   │   ├── api\n│   │   │   ├── README.md\n│   │   │   ├── blog.go\n│   │   │   ├── http.go\n│   │   │   └── http_test.go\n│   │   ├── const.go\n│   │   ├── impl\n│   │   │   ├── blog.go\n│   │   │   ├── blog_test.go\n│   │   │   ├── dao.go\n│   │   │   └── impl.go\n│   │   ├── interface.go\n│   │   └── model.go\n│   ├── ioc.go # ioc模块\n│   ├── tag # tag 服务模块\n│   │   ├── README.md\n│   │   ├── api\n│   │   │   ├── http.go\n│   │   │   └── tag.go\n│   │   ├── impl\n│   │   │   ├── impl.go\n│   │   │   ├── tag.go\n│   │   │   └── tag_test.go\n│   │   ├── interface.go\n│   │   └── model.go\n│   └── user\n│       ├── README.md\n│       ├── api\n│       │   ├── auth.go\n│       │   └── http.go\n│       ├── interface.go\n│       └── model.go\n├── cmd # 项目CLI\n│   ├── README.md\n│   ├── root.go\n│   └── start.go\n├── conf # 项目配置管理模块\n│   ├── README.md\n│   ├── config.go\n│   ├── config_test.go\n│   └── load.go\n├── docs # 项目详细文档\n│   └── api\n│       └── vblog.postman_collection.json\n├── etc # 项目配置文件\n│   ├── config.env\n│   ├── config.toml\n│   └── unit_test.env\n├── go.mod\n├── go.sum\n├── main.go # 项目入口\n├── protocol # 项目对外暴露接口时相关协议\n│   ├── README.md\n│   ├── auth # 协议认证中间件\n│   │   └── basci.go\n│   └── http.go # 基于HTTP协议的暴露\n└── version #  项目版本管理\n    └── version.go\n```\n\n## 工程配置对象管理\n\n- 基于文件(json,ymal,toml), 基于 toml 的格式来作为程序的配置\n    - json: json.Marshal 标准库\n    - ymal: 第三方库\n    - toml: 第三方库: \"github.com/BurntSushi/toml\"\n    - env: 基于环境变量, 容器部署时很有用, 如果解析环境变量, os.GetEnv, \"github.com/caarlos0/env/v6\", 通过定义 Struct Tag 直接帮你完成 环境变量映射\n\n## 非功能性功能开发\n\n- CLI:\n- protocol: HTTP Server\n- Makefile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunarianss%2Fgo-vblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flunarianss%2Fgo-vblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunarianss%2Fgo-vblog/lists"}