mirror of
https://github.com/NdoleStudio/httpsms.git
synced 2026-04-28 20:35:51 +03:00
[GH-ISSUE #32] Found an error to start api project #8
Labels
No labels
In Review
documentation
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/httpsms#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Alkiyogoma on GitHub (Nov 29, 2022).
Original GitHub issue: https://github.com/NdoleStudio/httpsms/issues/32
main.go:6:2: no required module provides package github.com/NdoleStudio/httpsms/docs; to add it:
go get github.com/NdoleStudio/httpsms/docs
when I run go get github.com/NdoleStudio/httpsms/docs

error go: github.com/NdoleStudio/httpsms/docs: no matching versions for query "upgrade"
go: github.com/NdoleStudio/httpsms/docs: no matching versions for query "upgrade"
@AchoArnold commented on GitHub (Nov 30, 2022):
Hello @Alkiyogoma
Sorry it's not very obvious, to generate the
docspackage installswaghttps://github.com/swaggo/swagand then run the following command inside the
apifolderThis will generate the swagger documentation inside the
docsfolder.I've done it in the docker file here https://github.com/NdoleStudio/httpsms/blob/main/api/Dockerfile
@Alkiyogoma commented on GitHub (Dec 1, 2022):
Thanks @AchoArnold
I will do it.
@AchoArnold commented on GitHub (Dec 1, 2022):
Keep me posted if you succeed @Alkiyogoma
@Alkiyogoma commented on GitHub (Dec 2, 2022):
Hello @AchoArnold, Thanks It worked.
first, i cleared all cache
go clean --modcachego get github.com/swaggo/http-swaggergo get github.com/swaggo/swag/cmd/swagswag init@AchoArnold commented on GitHub (Dec 3, 2022):
Hello @Alkiyogoma to make it work completely, you'll need to set the correct values in the
.env.productionfile. You'll need a firebase account and a cockrochDB databse account.@Alkiyogoma commented on GitHub (Dec 3, 2022):
Thanks, It worked. Once again thanks for your help