gbrayhan / microservices-go Goto Github PK
View Code? Open in Web Editor NEWGolang Microservice Boilerplate using MySQL, Docker and Swagger, API REST. Gin Go and GORM with pagination and implementation of a Clean Architecture.
License: MIT License
Golang Microservice Boilerplate using MySQL, Docker and Swagger, API REST. Gin Go and GORM with pagination and implementation of a Clean Architecture.
License: MIT License
thanks for sharing your repo source code. if so can you share how to build your app?
I've just started to mess around with this template and I'm not fully experienced with how Golang works quite yet but I'm having trouble getting the /user endpoint to successfully create a new user due to a missing/invalid token within the authorization header. I'm not sure what the value could be or where it's located in the project (I assume it's in config.json
) so I appreciate any help that I can get.
Response with a random value:
{
"error": "Invalid token"
}
Response with no value:
{
"error": "Token not provided"
}
relevant Secure config values (all default values):
{
"Secure": {
"JWTAccessSecure": "accesskeyyoumayneedtochangeit",
"JWTRefreshSecure": "refreshkeyyoumayneedtochangeit",
"JWTAccessTimeMinute": 10,
"JWTRefreshTimeHour": 10
},
}
Tracking issue for:
Describe the bug
Whenever I do swag init -g routes/ApplicationV1.go
the resulting docs.go is incorrect and doesn't look like the previous one.
To Reproduce
Steps to reproduce the behavior:
swag init -g routes/ApplicationV1.go
Expected behavior
The docs.go should update correctly
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
I just started using the Template and have ran go get
to download all the mods. I have also installed swag/cmd but I am unaware of the correct version to use.
Tracking issue for:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.