mify
swag
mify | swag | |
---|---|---|
8 | 36 | |
127 | 9,867 | |
2.4% | 2.4% | |
7.3 | 8.1 | |
9 days ago | 23 days ago | |
Go | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mify
- Mify – CLI that generates and maintains your backend infra code
-
We migrated our back end from Vercel to Fly.io and the challenges we faced
This! Can't agree more, I think we share the same idea, that's what the tool we're making is about: https://github.com/mify-io/mify/. It generates backend service code in a scalable way from the beginning, so that you wouldn't have to rewrite and move services to some other platform.
It's better to have good architecture from the beginning, but I understand why people choose these platforms - they are saving a lot of time in the initial development, that helps them iterate quickly. What will happen next is that people spending time and resources to perform costly migrations, and some do this more that once.
- Show HN: Mify – CLI that generates and maintains your back end infra code
-
Micro services share schemas and models
You can try switching to OpenAPI schemas, it's similar to pydantic schemas, and you can generate Go service with types based on it, we're building an open source tool to help with that and we support both Go and Python, check it out here you may find it helpful.
-
What do you use generated code or generic code?
Code generation FTW, I think there is a lot of friction with gluing stuff together manually, especially on the backend side, we are building an open-source code generation tool to cover things like APIs with structured logging and metrics, configuration, and authentication, check it out: https://github.com/mify-io/mify
- Show HN: Mify – CLI tool for generating cloud app structure
-
Any Working Example for Swagger integartion with golang?
Yes, Swagger/OpenAPI is rarely works out of the box, in Mify (https://github.com/mify-io/mify) we did a lot of work to integrate it and still we have much stuff to improve, but you can try it, I think it works pretty smoothly.
-
Trying to get started with my own product - overwhelmed with technical decisions
I do believe, though, that it better to start from something you're most familiar with, and right now we only support Go, Python and React, so this may not be for you, but check it if you're interested: https://github.com/mify-io/mify
swag
-
Seeking Advice on the Best Swagger Generation Approach for REST API
Hey Gophers, I'm exploring Swagger generation for a REST API in Go (using go-chi). Currently, I'm testing https://github.com/swaggo/swag/, but I'm uncertain if it's the optimal solution. What are your thoughts or recommendations?
- Como deixar o Swagger com tema dark mode usando Swaggo e Golang
-
Building RESTful API with Hexagonal Architecture in Go
Swaggo is a tool that creates Swagger documentation for Go APIs. It makes documenting API endpoints easier, helping developers understand and use the API.
-
go-ecommerce-microservices: A practical e-commerce microservices, built with cqrs, event sourcing, vertical slice architecture, event-driven architecture.
Some of the features: - ✅ Using Vertical Slice Architecture as a high level architecture - ✅ Using Event Driven Architecture on top of RabbitMQ Message Broker with a custom [Event Bus](pkg/messaging/bus/) - ✅ Using Event Sourcing in Audit Based services like [Orders Service](services/orders/) - ✅ Using CQRS Pattern and Mediator Patternon top of Go-MediatR library - ✅ Using Dependency Injection and Inversion of Controlon top of uber-go/fx library - ✅ Using RESTFul api with Echo framework and using swagger with swaggo/swag library - ✅ Using Postgres and EventStoreDB to write databases with fully supports transactions(ACID) - ✅ Using MongoDB and Elastic Search for read databases (NOSQL) - ✅ Using OpenTelemetry for collection Distributed Tracing with using Jaeger and Zipkin - ✅ Using OpenTelemetry for collection Metrics with using Prometheus and Grafana - ✅ Using Unit Test for testing small units with mocking dependent classes and using Mockery for mocking dependencies - ✅ Using End2End Test and Integration Test for testing features with all of their real dependeinces using docker containers (cleanup tests) and testcontainers-go library
-
OpenAPI v4 Proposal
[1]https://github.com/swaggo/swag/issues/386
-
[Request] Library Recommendation for Auto Swagger/OpenAPIv3 Documentation
I used this the other day and found it very easy to set up: https://github.com/swaggo/swag
-
Public API documentation. What to use?
I use the fizz for developing my webservices + docs, it's smooth! There is swaggo but I don`t like it because the source code get dirty (lots of comments)
-
Any Working Example for Swagger integartion with golang?
You can use swaggo/swag with code annotations
- Change host in Swagger API
-
Swagger codegen or custom tool
checkout swaggo/swag.
What are some alternatives?
go-clean-template - Clean Architecture template for Golang services
GoSwagger - Swagger 2.0 implementation for go
golug - GoLug Presentation Code
gin-swagger - gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
fiber-swagger - fiber middleware to automatically generate RESTful API documentation with Swagger 2.0.
go-rest - crud rest api template using gin framework, gin-swagger, gorm, godotenv
Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface
echo-swagger - echo middleware to automatically generate RESTful API documentation with Swagger 2.0.
jaeger - CNCF Jaeger, a Distributed Tracing Platform
grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC
uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.