Web API to apply some design patterns
- Search characters from the Rick n Morty animation
- Creational
- Singleton
- Structural
- Decorator
- Proxy
- Adapter
- Create .env
go mod tidy
go run ./cmd/api/main.go
Note: for now we do not have a docker-compose to make it easier to use redis
, but here is a tutorial to bring up a redis instance with docker or, if you prefer, you can create an instance on upstash, it is very easy and fast to bring up.
- go 1.18
- viper
- go-query-string
- fiber
- redis
- go-cache
- go-redis