elastic
swag
elastic | swag | |
---|---|---|
21 | 36 | |
7,316 | 9,812 | |
- | 1.8% | |
0.0 | 8.1 | |
about 2 months ago | 6 days ago | |
Go | Go | |
MIT License | 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.
elastic
-
How to include max_children in the Elasticsearch query
i am trying to generate the following query using github.com/olivere/elastic/v7
-
Iβm a recent graduate and this is what is asked of me in my current (first) job. Please help me.
I think that https://olivere.github.io/elastic/ is a lot better as an API client
-
Go and ElasticSearch full-text search microservice in k8sπβ¨π«
For Go available two good libraries for elasticsearch, the official Elasticsearch client and another one from community olivere elastic, both is good, but at this moment only the official client supports 8 version of elasticsearch and for serious production think it's the choice.
-
How to add multiple conditions in elastic search in github.com/olivere/elastic/v7 library
You are using the Query DSL, which is documented here, and has examples for boolean combination queries, so if you want it built up in a more strongly-typed fashion, check the documentation for it: https://github.com/olivere/elastic/wiki/QueryDSL
-
Go EventSourcing and CQRS with PostgreSQL, Kafka, MongoDB and ElasticSearch πβ¨π«
ElasticSearch repository implementation uses go-elasticsearch official library, another good one is olivere elastic but here it's not support 8 version which used for this project.
-
Go EventSourcing and CQRS microservice using EventStoreDB πβ‘οΈπ«
In this project we have microservice working with EventStoreDB using oficial go client, for [projections (https://zimarev.com/blog/event-sourcing/projections/) used MongoDB and Elasticsearch for search, and communicate by gRPC and REST. Did not implement here any interesting business logic and didn't cover tests, because don't have enough time, the events list is very simple: create a new order, update shopping cart, pay, submit, cancel, change the delivery address, complete order, and of course in real-world better use more concrete and meaningfully events, but the target here is to show the idea and how it works. Event Sourcing can be implemented in different ways, used here EventStoreDB, but we can do it with PostgreSQL and Kafka for example. After trying both approaches, found EventStoreDB is a better solution because all required features are implemented out of the box, it is optimized and really very good engineers developing it.
- Where can I find go-elasticsearch examples?
- How to add current time into a field in ES?
-
Elasticsearch in Go, Err: βthe client noticed that the server is not Elasticsearch and we do not support this unknown productβ
Relevant Discussion from the maintainer
-
Any good resources to learn Elasticsearch with Golang?
I have only used the olivere library and I think it is as good as a Go library gets.
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?
bleve - A modern text/numeric/geo-spatial/vector indexing library for go
GoSwagger - Swagger 2.0 implementation for go
go-elasticsearch-examples - Official golang elasticsearch driver examples
gin-swagger - gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
elastigo - A Go (golang) based Elasticsearch client library.
fiber-swagger - fiber middleware to automatically generate RESTful API documentation with Swagger 2.0.
goes
Nginx Proxy Manager - Docker container for managing Nginx proxy hosts with a simple, powerful interface
goriak - goriak - Go language driver for Riak KV
echo-swagger - echo middleware to automatically generate RESTful API documentation with Swagger 2.0.
elasticsql - convert sql to elasticsearch DSL in golang(go)
jaeger - CNCF Jaeger, a Distributed Tracing Platform