{"id":39014821,"url":"https://github.com/goexl/dns","last_synced_at":"2026-01-17T17:24:10.776Z","repository":{"id":59046201,"uuid":"531901030","full_name":"goexl/dns","owner":"goexl","description":"统一域名解析适配器，接入多种现行的域名解析，包括：1、阿里云；2、腾讯云","archived":false,"fork":false,"pushed_at":"2026-01-13T01:56:42.000Z","size":717,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T05:22:05.633Z","etag":null,"topics":["alidns","aliyun","ddns","dns","dnspod","golang","library"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goexl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-09-02T11:38:25.000Z","updated_at":"2026-01-13T01:56:40.000Z","dependencies_parsed_at":"2023-07-18T00:13:41.610Z","dependency_job_id":"c36ddbcb-d2d6-4c06-9ddf-ffec13690ceb","html_url":"https://github.com/goexl/dns","commit_stats":null,"previous_names":["goexl/uda"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/goexl/dns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fdns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fdns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fdns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fdns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goexl","download_url":"https://codeload.github.com/goexl/dns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goexl%2Fdns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28512817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["alidns","aliyun","ddns","dns","dnspod","golang","library"],"created_at":"2026-01-17T17:24:10.064Z","updated_at":"2026-01-17T17:24:10.759Z","avatar_url":"https://github.com/goexl.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dns\n\n[![编译状态](https://github.ruijc.com:20443/api/badges/goexl/dns/status.svg)](https://github.ruijc.com:20443/goexl/dns)\n[![Golang质量](https://goreportcard.com/badge/github.com/goexl/dns)](https://goreportcard.com/report/github.com/goexl/dns)\n![版本](https://img.shields.io/github/go-mod/go-version/goexl/dns)\n![仓库大小](https://img.shields.io/github/repo-size/goexl/dns)\n![最后提交](https://img.shields.io/github/last-commit/goexl/dns)\n![授权协议](https://img.shields.io/github/license/goexl/dns)\n![语言个数](https://img.shields.io/github/languages/count/goexl/dns)\n![最佳语言](https://img.shields.io/github/languages/top/goexl/dns)\n![星星个数](https://img.shields.io/github/stars/goexl/dns?style=social)\n\n一个Golang应用程序快速开发框架，有以下特性\n\n- 快速开发\n- 内置配置文件加载\n  - `Yaml`\n  - `Toml`\n  - `Json`\n  - `XML`\n  - 很方便定制自己的配置文件加载器\n- 内置强大的数据验证\n  - 内置强大的且非常多的数据验证器\n  - 很方便的定制自己的数据验证器\n- 强大的扩展功能\n- 强大的配置功能\n  - 徽标\n  - 帮助信息\n  - 命令行\n  - 一切可配置点皆可配置\n- 线程安全\n- 内置依赖注入\n- 语义化\n  - 方便使用\n  - 多态行为，同一个调用在不同的场景下有不同的意义\n\n## 快速开始\n\n`Pangu`使用非常简单，只需要定义两部分代码`启动方法`和`启动器`以及`依赖关系`，对于`依赖关系`\n\n- 可以没有依赖，如果没有，就不需要处理依赖\n- 一般稍微大型一点的系统都会有复杂的依赖关系，而这正是`盘古`框架的强项\n- 对于没有依赖或者依赖非常少的项目，使用`盘古`反而会使代码变多，这个需要大家酌情考虑\n\n`启动方法`代码如下\n\n```go\npackage main\n\nimport (\n    `github.com/pangum/pangu`\n    `github.com/pangum/pangum`\n)\n\nfunc main() {\n    panic(pangu.New(\n        pangu.Named(`ziyunix`),\n        pangu.Banner(`Ziyunix Server`, pangu.BannerTypeAscii),\n    ).Run(newBootstrap))\n}\n```\n\n`启动器`的代码如下\n\n```go\npackage main\n\ntype bootstrap struct {\n    application *pangu.Application\n}\n\nfunc newBootstrap(application *pangu.Application) pangu.Bootstrap {\n    return \u0026bootstrap{\n        application: application,\n    }\n}\n```\n\n`依赖关系`建议像如下处理\n\n```go\npackage rest\n\nimport (\n\t`github.com/pangum/pangu`\n)\n\ntype Server struct {}\n\nfunc newServer(/* 如果有依赖，可以在这里增加依赖：api *Api */) *Server {\n\treturn new(Server)\n}\n\nfunc init() {\n\tpangu.New().Dependencies(\n\t\tnewServer,\n\t\t// 其它依赖\n\t\t// ...\n\t)\n}\n```\n\n\u003e `Pangu`有非常多的配置项，请参看[**使用文档**](https://pangu.pangum.tech)\n\n## 文档\n\n[点击这里查看最新文档](https://pangu.pangum.tech)\n\n## 使用示例\n\n[点击这里查看最新的代码示例](example)\n\n## 项目实践\n\n- [基础项目实战代码](https://github.com/pangum/example)\n  - 数据库操作\n  - 数据库迁移\n  - RESTFul接口\n  - 配置加载\n  - MQTT操作\n\n## 交流\n\n![微信群](doc/.vuepress/public/communication/wxwork.jpg)\n\n## 捐助\n\n![支持宝](https://github.com/storezhang/donate/raw/master/alipay-small.jpg)\n![微信](https://github.com/storezhang/donate/raw/master/weipay-small.jpg)\n\n## 感谢Jetbrains\n\n本项目通过`Jetbrains开源许可IDE`编写源代码，特此感谢\n[![Jetbrains图标](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png)](https://www.jetbrains.com/?from=goexl/uda)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoexl%2Fdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoexl%2Fdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoexl%2Fdns/lists"}