• 请不要在回答技术问题时复制粘贴 AI 生成的内容
sunshinev
V2EX  ›  程序员

Go-sword v1.0.0 升级更新

  •  
  •   sunshinev ·
    sunshinev · Sep 11, 2020 · 1744 views
    This topic created in 2101 days ago, the information mentioned may be changed or developed.

    26b0f0a8692cde540dcf7e405e68d1cc1599838783.jpg

    v1.0.0 更新

    1. 底层 db 转换 struct 进行了重写
    2. 使用切片代替 map,解决字段排序问题
    3. 服务启动进行了重写,添加 config 包来解决全局配置 GlobalConfig
    4. 调整后的结构体主要有 int32/string/float64/time.Time 四种类型

    https://sunshinev.github.io/go-sword-home/

    https://github.com/sunshinev/go-sword

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2513 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 00:22 · PVG 08:22 · LAX 17:22 · JFK 20:22
    ♥ Do have faith in what you're doing.