Giter VIP home page Giter VIP logo

Comments (3)

LiuYiDi2 avatar LiuYiDi2 commented on June 1, 2024 1

这个问题我也出现了 也确认swag是最新版本,go install 更新未解决,用go get 更新swagger后解决的,go get应该会更新一些swag编译的依赖,楼主可以试一下

from gin-admin.

kisy avatar kisy commented on June 1, 2024 1

应该是 go.mod 文件未更新所致

手动修改 go.mod文件也可以解决

// github.com/swaggo/swag v1.8.12 
github.com/swaggo/swag v1.16.2

from gin-admin.

LyricTian avatar LyricTian commented on June 1, 2024

可以尝试升级下本地的 swag 命令,这是生成 swagger 文档导致的,我本地没有复现这个问题

go install github.com/swaggo/swag/cmd/swag@latest

from gin-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.