[GH-ISSUE #277] no required module provides package github.com/NdoleStudio/httpsms/docs #36

Closed
opened 2026-03-03 16:36:07 +03:00 by kerem · 2 comments
Owner

Originally created by @benjamin-kirkbride on GitHub (Sep 21, 2023).
Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/277

When running go build -o main.exe I get:

main.go:7:2: no required module provides package github.com/NdoleStudio/httpsms/docs; to add it:
        go get github.com/NdoleStudio/httpsms/docs
Originally created by @benjamin-kirkbride on GitHub (Sep 21, 2023). Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/277 When running `go build -o main.exe` I get: ``` main.go:7:2: no required module provides package github.com/NdoleStudio/httpsms/docs; to add it: go get github.com/NdoleStudio/httpsms/docs ```
kerem closed this issue 2026-03-03 16:36:07 +03:00
Author
Owner

@benjamin-kirkbride commented on GitHub (Sep 21, 2023):

$ go get github.com/NdoleStudio/httpsms/docs
go: github.com/NdoleStudio/httpsms/docs: no matching versions for query "upgrade"
<!-- gh-comment-id:1730363404 --> @benjamin-kirkbride commented on GitHub (Sep 21, 2023): ``` $ go get github.com/NdoleStudio/httpsms/docs go: github.com/NdoleStudio/httpsms/docs: no matching versions for query "upgrade" ```
Author
Owner

@AchoArnold commented on GitHub (Sep 22, 2023):

Hello @benjamin-kirkbride You need to run swag init to create the docs packages. You can see the DockerFile build steps here github.com/NdoleStudio/httpsms@2dab2b0ec2/api/Dockerfile (L18)

<!-- gh-comment-id:1730753574 --> @AchoArnold commented on GitHub (Sep 22, 2023): Hello @benjamin-kirkbride You need to run `swag init` to create the docs packages. You can see the DockerFile build steps here https://github.com/NdoleStudio/httpsms/blob/2dab2b0ec29976aff312cedd4be179f49e2d8ac5/api/Dockerfile#L18
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/httpsms#36
No description provided.