hord
render
hord | render | |
---|---|---|
2 | 3 | |
15 | 275 | |
- | 2.6% | |
8.1 | 2.0 | |
13 days ago | about 2 months 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.
hord
-
The Easiest Way to Create a REST API With Go
In an effort to provide actual persistent storage out of the box, the babyapi/storage package uses madflojo/hord to support a variety of key-value store backends. Additionally, babyapi/storage provides helper functions for initializing the hord client for Redis or file-based storage.
-
How I Learned Generics in Go
Determined to implement generics and delete some lines of code, I turned my sights to the storage layer of my application. I designed my storage around key-value pairs since I started by storing resources in YAML files. This eventually evolved to use madflojo/hord to interact with key-value data stores like Redis. The function to read a *pkg.Garden from storage looks like this:
render
-
How I Learned Generics in Go
GET endpoints just use go-chi/render to create the HTTP response
-
Request Validations in Go REST API
Rather simple but works well for us, https://github.com/go-chi/render Binder interface.
-
Gin vs Echo framework
I usually reach for chi, and most of the other boilerplate is covered by render.
What are some alternatives?
cachego - Golang Cache component - Multiple drivers
render - Go package for easily rendering JSON, XML, binary data, and HTML templates responses.
godis - redis client implement by golang, inspired by jedis.
ozzo-validation - An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
redigo - Go client for Redis
automated-garden - weather-based smart irrigation controller and backend
Redis - Redis Go client
jio - jio is a json schema validator similar to joi
go-random-chat - Modern real-time chat in scalable architecture.
validator - :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
babyapi - A Go CRUD API framework so simple a baby could use it.
mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍