Go : 10 librairies Go à connaitre

Par:
francoistonic

ven, 24/10/2025 - 08:14

L'écosystème Go évolue et s'agrandit. Il est parfois difficile de faire des choix dans les librairies. Voici une petite sélection.

1 - Gin : framework web de type Express.js pour builder un serveur web et des API Rest

https://github.com/gin-gonic/gin

2 - Cobra : pour construire des CLI

https://github.com/spf13/cobra

3 - GORM : un ORM pour Go. Pour utiliser une base de données, faire du SQL.

https://gorm.io/

4 - GoDotEnv 

https://github.com/joho/godotenv

5 - GoQuery : pour faire du jQuery sauce Go

https://github.com/PuerkitoBio/goquery

6 - Time : pour gérer le temps, les heures, mesurer le temps...

https://pkg.go.dev/time

7 - Mapstructure : pour travailler avec JSON

https://github.com/mitchellh/mapstructure

8 - JWT-Go 

https://github.com/golang-jwt/jwt

9 - HTTPRouter : un peu comme Git mais en plus minimaliste

https://github.com/julienschmidt/httprouter

10 - Testiy : pour les tests

https://github.com/stretchr/testify