Simplifying Your Go Project Workflow with a Makefile

  Рет қаралды 271

Code & Learn

Code & Learn

Күн бұрын

Пікірлер: 15
@Lonelyx.1
@Lonelyx.1 3 күн бұрын
THANKS BUDDY!!!
@prashlovessamosa
@prashlovessamosa 3 күн бұрын
Thanks please keep uploading every day.
@codeandlearnwithlove
@codeandlearnwithlove 3 күн бұрын
Thanks! I will try my best.
@helloworld7796
@helloworld7796 3 күн бұрын
Do you think cmd/internal is a little bit complex folder structure? I often get confused and lost in such structure, compared to the structure used in MVC? I am talking about web dev only.
@codeandlearnwithlove
@codeandlearnwithlove 3 күн бұрын
Different languages have different project directory structures which are treated idiomatic. In Go this directory structure is very common, internal is for non exported packages, while cmd holds main files for different applications. Go follows a more domain specific structures, MVC is not aligned with Go. I did a video about different Go idiomatic project structures, you can have a look at it or read the Go team’s blog.
@helloworld7796
@helloworld7796 3 күн бұрын
@@codeandlearnwithlove Thank you for your answer! I will take a look at the project structures. Question, did you recorded or planning to, about grpc api and it's testing?
@codeandlearnwithlove
@codeandlearnwithlove 3 күн бұрын
I do plan on creating a series on it, but will need some time.
@helloworld7796
@helloworld7796 3 күн бұрын
@@codeandlearnwithlove Nice, thanks!
@prashlovessamosa
@prashlovessamosa 3 күн бұрын
After this series please cover DSA fundamentals at least implementation of them would be too nice btw I am learning Gin along with Vue JS its hell of a combination. All thanks to you because of you I am able to write Go. Thanks 🙏 that's it
@codeandlearnwithlove
@codeandlearnwithlove 3 күн бұрын
For sure, I am working on it. Btw can I ask you why Gin?
@prashlovessamosa
@prashlovessamosa 3 күн бұрын
@codeandlearnwithlove I was working as an intern for org name Fampay they were migrating their infrastructure from Django Rest Framework to Gin. Fiber can be a better choice but Gin is so good too. Std lib is good but our senior decided to go with Gin. I didn't know how to write to Go so I learnt go from you after that I started learning Gin so far enjoyed it.
@codeandlearnwithlove
@codeandlearnwithlove 3 күн бұрын
Thanks for the context, I was just curious because we always tend to prefer standard lib packages. But understand different dev teams have different experiences and as such preferences.
@prashlovessamosa
@prashlovessamosa 3 күн бұрын
​@@codeandlearnwithlove although I am still below Junior I was assigned to Casbin work basically auth part of an app whole app was on EDA I think they were using the RabbitMQ I am not too sure. I didn't ask him too much btw he is the Java OG he told me he likes Gin in Go and Nest in the JS ecosystem. He also taught me how to develop lambdas in python later we did the same thing in go.
@codeandlearnwithlove
@codeandlearnwithlove 3 күн бұрын
That’s nice. We tend to build our own stuff in the company I work for, when it comes to authn, authz, etc and use Kafka for pub sub. I think most of the technologies you use depends on the scale of the company. It’s good that you are learning different frameworks but when you gain experience, you will realize frameworks can sometimes be bit too much, at least that is my experience with them. Btw I am not judging but I have seen Java devs killing Go projects by trying to write Go with Java style of things.
Implementing Persistence in Your Go App with Postgres and Bun
14:43
Effective Goroutine Management with Context in Go
8:28
Code & Learn
Рет қаралды 721
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Building a REST API Server Project in Go: Getting Started
13:39
Adding an In-Memory Data Store to Our Go API Server
10:29
Code & Learn
Рет қаралды 705
Exploring Abandoned Games From Your Childhood
20:00
globert
Рет қаралды 50 М.
This New AI is 430,000 Times Faster Than Reality (AGI Robots Soon)
8:37
Understanding Channels in Go with Code Examples
13:03
Code & Learn
Рет қаралды 392
Adding Structured Logging to Our Go Service for Better Insights
11:41
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН