Skip to content

Conversation

@orgball2608
Copy link

Set up swagger 2.0 for project

Comment on lines +30 to 32

docs "elearning/docs"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hạn chế dùng import alias khi k cần thiết

"github.com/gin-gonic/gin/binding"
"github.com/go-playground/validator/v10"

swaggerFiles "github.com/swaggo/files"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chỉ dùng import alias khi tên bị trùng hoặc path ko có match với package name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants