Tuesday, February 11, 2025
HomeGolangIdeas about this Go+Gin Turorial - Technical Dialogue

Ideas about this Go+Gin Turorial – Technical Dialogue


https://chenyitian.gitbooks.io/gin-tutorials/

Has anybody tried this tutorial about gin + golang ? I attempted studying gin and golang through this, however my code ended up in a number of issues with this. Additionally, in my restricted understanding of golang, this tutorial sort of has a number of unformal issues like utilizing file names like handlers.article.go as a substitute of handlers/article.go and possibly declaring the bundle to handlers. The entire information are packaged beneath important.

Am I lacking one thing, I’d prefer to know if somebody has accomplished this tutorial.

To start with, I don’t advocate freshmen to begin with gin straight, despite the fact that it’s extremely really useful by many individuals.
I personally advocate studying from the usual library’s http to grasp the design construction, processing logic, and many others. When you’ve mainly mastered the usual library’s http, you will see that it simple to get began with these third-party libraries.

As for this tutorial, after a fast look, it doesn’t appear to be very nutritious.

Yeah. Additionally, I don’t imagine in all of the factor with mastering and all. I prefer to strive work out all the pieces on the go. And I’ve first rate understanding of construction and processing logs, I’m coming right here after making an attempt to work on a sufficiently big go code-base (did do some PR’s although). My seniors simply needed me to do that tutorial in order that I can have even higher understanding of our codebase which closely utilises gin.

So why don’t you take a look at the official documentation?

Properly, I believe you’re de-railing within the unsuitable route. I needed to know ideas about that tutorial. The subject wasn’t very very very particular to “Gin” on the first place. It was whether or not anybody else had felt the identical factor in regards to the tutorial like I did.

In any case, I’d like to attend and see if anybody can share something useful or transient in regards to the tutorial

Properly, it appears to be my downside.
I’m not sufficient to learn the tutorial you talked about in full. However after a fast assessment, the tutorial provides me the identical feeling as I stated earlier than. Nevertheless, such public tutorials can’t be judged too strictly.

Yeah agreed. I observed the problems after 2-3 pages itself of the gitbook. I had thrown myself straight into the codebase for some duties, so I needed to fiddle with issues and whereas doing that I sort of understood the entire construction a codebase must should run a backend correctly. And I observed this tutorial doesn’t observe the construction in any respect.

I attempted distributing the codebase into completely different packages (handlers, fashions and testing) however the undefined errors saved happening. Most likely, i’ll attempt to debug em or simply ask me supervisor to provide me one other activity straight :smiley:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments