D
D
dorige2021-08-19 23:04:13
go
dorige, 2021-08-19 23:04:13

What is better to use the framework or the standard golang http package?

Can you please tell me what is better to use a framework or a standard http package for the backend? by framework I mean something like gin gonic, echo etc. And which is faster framework or standard http package?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey〒., 2021-08-20
@dorige

Everything depends on experience. At the beginning of the journey, it’s definitely better to use frameworks so that you don’t reinvent the wheel. Echo, and Gin have performed well.

V
Vasily Bannikov, 2021-08-19
@vabka

In any case, the framework adds some kind of overhead.
Some frameworks are faster than standard http, for example fiber (built on top of FastHttp)
For better or worse, it's all about compromises, which is more important in a particular case:
Ease of writing, ease of maintenance, or speed?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question