Ssi Core
It is a microservice core package developed with Golang.
It is a repository that treats repetitive code as a basis in an already developed microservice application. It has been made public as an example. You can report the missing aspects to me as an issue
or send a PR
.
Technologies
Packages
Installation
go get github.com/ssibrahimbas.com/ssi-core
Usage
package main
import(
"github.com/ssibrahimbas/ssi-core/pkg/http"
"github.com/ssibrahimbas/ssi-core/pkg/i18n"
"log"
)
func main() {
i := i18n.New("tr")
i.LoadLanguages("./locales", "tr", "en")
h := http.New(i)
h.Post("/login", func(c *fiber.Ctx) error {
return c.JSON(fiber.Map{"message": "Hello, World!"})
})
log.Fatal(a.Http.Listen(":8080"))
}
License
MIT
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Authors