This Is The BEST Way To Structure Your GO Projects

Поделиться
HTML-код
  • Опубликовано: 2 авг 2023
  • World of Go programming language! 🚀 Whether you're a complete beginner or an experienced developer looking to explore Go, this video has something for everyone.
    🔧 Installing Go Lang:
    With easy-to-follow instructions, you'll have Go up and running on your machine in no time.
    📁 Directory Layout Best Practices:
    We discuss the recommended directory structure for a typical Go project. Learn how to keep your codebase clean and easy to navigate, separate concerns, and follow the best practices that the Go community loves.
    Go Project Layout GitHub:
    github.com/golang-standards/p...
    Twitch
    I stream live on Twitch every weekend
    Twitch : / melkey
    Join the amazing community on Discord
    Discord: / discord
    I post memes and host Twitter Tech Spaces
    Twitter: / melkeydev
    SUBSCRIBE OR GET LAID OFF
    ╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
    ║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
    ╠╗║╚╝║║╠╗║╚╣║║║║║═╣
    ╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
    #coding #neovim #typescript #programming #vim #softwareengineering #codinglife #webdesign #webdevelopment #webdev #javascript #rustlang #rust #twitch #twitchstreamer #programmerhumor #codinghumor #software #softwareengineer #softwaredeveloper #softwaredevelopment #gymbro #gym #programmerhumor #programming #coding
  • НаукаНаука

Комментарии • 181

  • @MelkeyDev
    @MelkeyDev  10 месяцев назад +34

    GO CONTENT IS AWESOME!
    I HOPE YOU ALL ENJOY IT.
    MAKE SURE TO COMMENT AND SUBSCRIBE- it really means the world

    • @PeterPatrick-uq5ef
      @PeterPatrick-uq5ef 6 месяцев назад

      Melky, what do you advise, I just started learning Go as I am new to software dev world, but some what seem confusing sometimes. Topic like Pointers; I am struggling to really understand it deeply, and a few others. Can you advice on howto go about it - recommend materials that can easily break it down for me. I am really interested in learning getting as far as building API's, Micro-services. I know that for a newbie, it seem like a daunting task; i do believe i can achieve it. I am not totally new to IT world, I have worked as a network engineer, and now looking to become a software engineer; Specifically a back-end or full stack. I do have a bit of the basic knowledge of variables, functions, struct, boolean, integer, float etc. i know basic python programming, html, css , docker, i use vagrant as IAC for my private test environment, Linux, basic knowledge of Git & Github, cloud services - aws cloud services, Splunk enterprise software installlation, monitoring and for onboarding data.
      I will appreciate your sincere advice? Thank you very much.

    • @PeterPatrick-uq5ef
      @PeterPatrick-uq5ef 6 месяцев назад

      And if you could recommend a good trainer that can help with other programming language(JS, Java..etc) along with Go, I will be most grateful

  • @Doomdave1992
    @Doomdave1992 10 месяцев назад +2

    Enjoying the content Melkey! I don’t code in Go at all but watching these makes it feel like I could do it tomorrow

  • @viktorkrepak
    @viktorkrepak 3 месяца назад +3

    Well structured video without any water, thanks for your work Melkey!

    • @MelkeyDev
      @MelkeyDev  3 месяца назад

      Absolutely, hope you enjoy it !

  • @agentbabs_yt
    @agentbabs_yt 6 месяцев назад +5

    Absolute lifesaver.. I was struggling with getting local imports to work after a tutorial refactored code into subdirectories. thank you for this!

    • @MelkeyDev
      @MelkeyDev  6 месяцев назад +1

      My pleasure boss - glad you enjoyed

  • @Chronofrost001
    @Chronofrost001 4 месяца назад +1

    I have been a C# dev for over 15 years and wanted to try something else so a few days ago i picked up a GO course. This video has been a great addition to the other things i have. Thanks.

  • @mrjson3039
    @mrjson3039 10 месяцев назад +9

    3 days ago I started my journey as a go developer. I wanted to learn something new and since I can't find work with my current knowledge of js I decided give a GO haha. This type of content is invaluable for me, thanks Melkey.

  • @shubhicodes
    @shubhicodes 10 месяцев назад +1

    started learning GO great share Melkey

  • @alexandersemionov5790
    @alexandersemionov5790 10 месяцев назад +3

    ok, have to admit - this was useful. I just started going deeper in Go and was missing the point of long import statements. Genuine thank you

  • @pavelastraukh9905
    @pavelastraukh9905 8 месяцев назад

    Thank you so much. For last few years I was programming in ruby using rails framework where layout is defined by framework and I was really struggling with figuring out what layout to use.

  • @thingsiplay
    @thingsiplay 10 месяцев назад +2

    I know you from Prime reacting to your meme videos. :D
    Just started learning Go after Rust and Python. Looked into Haskell and Zig first. Zig is still not at version 1.0 and Haskell is, well it's Haskell. So I go with Go for now. And the project layout was one of the first things I wondered. This and probably your other videos will help me for sure.

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад +1

      Welcome aboard!

  • @krislui852
    @krislui852 9 месяцев назад

    just started on go recently and struggling with structuring my project. watched a couple videos on that but seems like opinions are quite contradicting. anyway, great walkthrough, helps a lot

  • @Endurancecoach00
    @Endurancecoach00 10 месяцев назад +1

    Dope vid as always super helpful

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад

      Appreciate it!

  • @choleralul
    @choleralul 10 месяцев назад +2

    Love Go! let's goo Melkey!!

  • @AnatolyLeonov
    @AnatolyLeonov 27 дней назад +1

    Thanks for the descriptioN!

  • @vikingthedude
    @vikingthedude 7 месяцев назад

    Do we gitignore the bin directory? Considering that the contains the output build, we wouldn’t wanna track that in version control right?

  • @rohithgilla9492
    @rohithgilla9492 9 месяцев назад +1

    Thanks for making such awesome content, what’s your prefer way to deploy go apps, can we have a video on that if possible

  • @IkraamDev
    @IkraamDev 10 месяцев назад +1

    Keep up the Golang videos!

  • @kiryosity_
    @kiryosity_ 9 месяцев назад

    Thank you for video!
    I have a question related to tests. How can I keep my tests in a separate folder if I want to test not exported (private) function within my package?
    Anyway, it would be nice to see how you'd recommend organise your tests :)
    Thanks!

    • @David-gj6dc
      @David-gj6dc 4 месяца назад

      I don't know about separating folders but in principle you should not be invoking private functions. Unit testing should only interface with the public API and treat it's internal calls as a black box.

  • @muhammadfahad3483
    @muhammadfahad3483 Месяц назад

    I have a question, like in JS/nodejs we have a folder thats specific to a project called "node_modules", don't we have something like it in golang?

  • @ahmeism90
    @ahmeism90 8 месяцев назад

    wow, happy see some nice educative golang content. i would love yo see some real world api project with best practices. Just like you would do for some clinet

    • @MelkeyDev
      @MelkeyDev  8 месяцев назад

      Many many thanks

  • @flalspspsl6858
    @flalspspsl6858 8 месяцев назад

    how do i use code from inside my INTERNAL folder in another folder in INTERNAL folder.. like i have some funcs that do some basic shit and i wanna use them to make it easier instead of writing their implementations out every time

  • @henrikchristensen65688
    @henrikchristensen65688 10 месяцев назад +7

    Wait... what? Tests in a separate folder? 😳

    • @GustavoDiaz93
      @GustavoDiaz93 9 месяцев назад +1

      Mmm first time I see this recommendation, in Go we tend to have the test files next to the code we’re testing.

    • @henrikchristensen65688
      @henrikchristensen65688 9 месяцев назад

      @@GustavoDiaz93 yeah

    • @gearboxworks
      @gearboxworks 3 месяца назад +2

      @@GustavoDiaz93- Apples and oranges. Units tests in the same directory, integration tests in a ./test directory.

    • @chandup
      @chandup 3 месяца назад

      I see an advantage (there might be better approaches too):
      - if you want to ignore tests while building final go application container image. This reduces your final code base you are delivering. Just use test files for dev & testing phase.
      But for easy human consumption when looking at code base, test folder should follow the same structure as main code base, so that it’s easy to relate the relationships between folders and test files to the main code base folders and code files.
      Maybe someone here can provide more insights.

  • @kchak14
    @kchak14 21 день назад

    Can you make a video on or share resources for Unit Testing in Go? Specifically, code coverage reports on a Windows machine.

  • @vikingthedude
    @vikingthedude 7 месяцев назад

    What if we create a cmd/main.go instead of nesting it within another folder?

  • @AdeaduraAdegbite
    @AdeaduraAdegbite 8 месяцев назад

    whoa 10k subs already, way to go

  • @Cyber_Lanka
    @Cyber_Lanka 8 месяцев назад +1

    Hey what about the embed package? I don't think it's possible to embed static files outside of cmd directory or handlers.

    • @stevezhang3869
      @stevezhang3869 5 месяцев назад

      it says adjust this project/package1/package2/package3 to project/package1, project/package2, project/package3

  • @manankoyawala5337
    @manankoyawala5337 3 месяца назад +2

    Hey bro give me tip how you change your terminal look can you make video because I like your terminal look which is very fancy

  • @muratasarslan2359
    @muratasarslan2359 5 месяцев назад

    Heyy Melkey, wonderful video. Very helpful. Would like to create a realistic REST api targeting prod making use of this structure with you 😺

  • @mddawid0323
    @mddawid0323 6 месяцев назад

    Great video, I have learnt a lot.
    One question, how to create multiple folders with mkdir command on windows powershell? The method you have used on linux does not work.

    • @MelkeyDev
      @MelkeyDev  6 месяцев назад +1

      I am not sure - I dont develop on Windows. I don't recommend it

  • @rootdefault6263
    @rootdefault6263 Месяц назад

    So this might be a very noob question. Am still a beginner in go coming from a Laravel world (YES I CODE IN PHP). where would you place your middle ware, database related files like configuration,queries and your HTML pages (of course with its assets).
    so far I have been trying to build a simple crud project and its working well but its terrible in terms of structure and maintenance for a serious project is a nightmare. your guide will be very much appropriated you earned my sub by the way Much love from TANZANIA

  • @mouhannadal-hmedi1501
    @mouhannadal-hmedi1501 6 месяцев назад +1

    amazing!
    thanks

  • @omarcrosby
    @omarcrosby 7 месяцев назад +2

    Can you explain why you prefer to keep tests in a separate folder instead of next to the files they are intended to test? Just curious.

    • @chandup
      @chandup 3 месяца назад

      I see an advantage (there might be better approaches too):
      - if you want to ignore tests while building final go application container image. This reduces your final code base you are delivering.
      But for easy human consumption when looking at code base, test folder should follow the same structure as main code base, so that it’s easy to relate the relationships between folders and test files to the main code base folders and code files.
      Maybe someone can add more insights here.

  • @fliplucky8813
    @fliplucky8813 10 месяцев назад

    Ey Melkey, great video
    I have been starting up golang for a basic backend with htmx.
    I am working on building a docker setup around it with a databse and eventually an extra node container for scss
    Could you perhaps show how you would make a docker setup ( perhaps even with live reload) ?
    Thnx!
    Keep on making these golang videos, i accpreciate them a lot!

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад

      Air is really good I do recommend

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад +5

      Sounds great!
      I will do that. Docker + Go + Air coming right up

    • @fliplucky8813
      @fliplucky8813 10 месяцев назад

      @@MelkeyDev I have visited your twitch several times couple of years ago.
      Still love the introduction i got to Obsidian from you.
      But in all honesty, i like your way of presenting. If you can create a golang series, i will be sure to set the notifications. I like golang, but somehow the content either is: "build this demo/tutorial with me", or loose examples.
      Most articles on the web ( at least which i have found ) are the same.
      I am missing the coherence/practical concepts.
      For example this video. Short, practical, great reusability
      My request for the docker/golang/mysql is imo also something to benefit for whatever project a dev is going to make.

  • @paulclarke4099
    @paulclarke4099 10 месяцев назад +3

    Can you please create a video discussing Workspaces and there uses. Thanks for the great content 💯😃👍

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад

      Yeah - for sure But what do you mean? Can you be more specific?

    • @paulclarke4099
      @paulclarke4099 10 месяцев назад +1

      @@MelkeyDev Just why would one use workspaces in the first place, do I actually need them or not, what is there general purpose of them, that sort of thing 👍

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад

      @@paulclarke4099 Workspaces (the Go workspaces) are used when you are potentially working in a Monolith, or a project structure that has multiple non-go sub dirs. For example, you can have your React code in the client folder, while your Go code is in another.

  • @ali-ozen
    @ali-ozen 5 месяцев назад +1

    what is your guake theme?

  • @benkogan1579
    @benkogan1579 3 месяца назад

    I see a lot of projects put a test file right next to the source file / package it's testing, i.e. no tests directory. Not sure I have a strong opinion on one or the other.

  • @georgejoseph2601
    @georgejoseph2601 3 месяца назад +1

    This is why more people need experience with battle-tested monolithic frameworks like Rails or Django

  • @melkeydevvods7698
    @melkeydevvods7698 10 месяцев назад +7

    GO IS AWESOME!!
    I hope you enjoy it.
    Make sure to like, comment for MORE GO CONTENT!

    • @thingsiplay
      @thingsiplay 10 месяцев назад

      You are an imitator and fake of this channel??? Using same icon and name, but are not linked in the official channels list of channels.

  • @dan_le_brown
    @dan_le_brown Месяц назад

    I have watched this video couple of times and "you guys don't write tests 😂" always get me rolling

  • @emil_l889
    @emil_l889 10 месяцев назад +1

    This video was so good I got promoted to cto instantly

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад +1

      Auto billionaire

  • @dentforpersonal
    @dentforpersonal 3 месяца назад

    Great Video! I learned a lot. But why does all the module need to have the github prefix ?

    • @MelkeyDev
      @MelkeyDev  3 месяца назад

      They dont! Just if you want to make them public its a common pattern to do it like that

  • @NoctuaDeveloppement
    @NoctuaDeveloppement 8 месяцев назад

    Amazing content !
    Maybe it's a useless question but is it better to use Gin or Go the hard way to build a full Rest API ?

    • @MelkeyDev
      @MelkeyDev  8 месяцев назад +1

      i mean, you can definitely use Gin but I think using Go built in lib is nice!

    • @NoctuaDeveloppement
      @NoctuaDeveloppement 8 месяцев назад

      @@MelkeyDev Yeah it's definitely what I did, builtin lib and no ORM to learn the basics of the language 😃 Thank's for the answer 😀

  • @Muhammed-nani964
    @Muhammed-nani964 10 месяцев назад +1

    The go guy
    I started switching to go we need more tutorial and projects 😂

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад +1

      OKAY!
      What do you want to see?

    • @Muhammed-nani964
      @Muhammed-nani964 10 месяцев назад

      @@MelkeyDev my an entire crash course of web api creation with go MySQL (with auth too)
      Or a simple project 😁

  • @MrKeliv
    @MrKeliv 8 месяцев назад +5

    When I create go project. I always follow MVC like PHP framework folders.
    - routes -> routes.go
    - models -> post.go
    - databases -> database.go
    - controllers -> post_controllers.go, etc
    - views ->
    - layouts -> layout.html
    - pages -> home.html, about,html, etc
    - middlewares -> auth.go
    main.go
    go.mod
    I dont know its good or bad. But it make easier for me to trace something and so familiar with other projects with different languages.

    • @dan_le_brown
      @dan_le_brown 6 месяцев назад +1

      I'd do the same too

    • @matthewrossee
      @matthewrossee 6 месяцев назад +3

      It sucks because you're grouping by technical concerns. It's better to group by a feature because it's more cohesive and functionality related to "post" isn't scattered all over the project. Your project structure should tell what the application is about.

    • @myfamily2503
      @myfamily2503 6 месяцев назад

      @@matthewrosseeI will do with inherit in all codes. Sometimes we need nested feature. So I will include in same folder but tell what about of this file.
      Ex.
      models -> post_comment.go
      controllers -> post_comment_controllers.go
      pages -> post_comment.html

    • @krskvBeatsRadio
      @krskvBeatsRadio 4 месяца назад

      @matthewrossee you have a point but what if your application has only one feature? Then all files would end up in one folder creating a total mess
      I think such grouping is much better suited for non-microservice project

    • @gearboxworks
      @gearboxworks 3 месяца назад +1

      Not good, because directory=package in Golang, and that means you are grouping code that should be in the same package into different packages and that can create all kind of unnecessary complexity like import cycles and then interfaces needed *just* to resolve import cycles.
      Think this rule of thumb: If you were to extract any given functionality to use in another app, what files would you need? All those files should then be kept in the same directory/package.

  • @JammUtkarsh
    @JammUtkarsh 10 месяцев назад +1

    The layout of opened file is like the one in focus mode. But you have ribbons in that too.
    I need that one. pls share or just make a video on your dev setup(i know it's pretty classic one but pls its needed.)

    • @stevezhang3869
      @stevezhang3869 5 месяцев назад +1

      just disable vscode activity bar, or enter focus mode and key Ctrl + Shift + E

  • @nyantaro1
    @nyantaro1 10 месяцев назад +1

    Love you melkey

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад

      I love you too thank you

  • @GV14982
    @GV14982 10 месяцев назад +1

    Do you have any suggestions for handling a go monorepo?

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад +1

      It is typically the same structure, just with more sub directories within the /internal

  • @vormavius
    @vormavius 7 месяцев назад +2

    I charge like 50% extra amount when I have to work on a project with this structure.

  • @akileshkumarb7750
    @akileshkumarb7750 3 месяца назад

    2:57 felt personally attacked

  • @bradleyfrueh2761
    @bradleyfrueh2761 10 месяцев назад +1

    Is golang useful for data science? I know python has all the libraries but its slow. Could golang fill in the gaps of python?

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад

      Great question.
      I personally dont think so.
      I think Python will be the data science language for a while.
      Or Julia

  • @bpa5721
    @bpa5721 3 месяца назад +1

    Writing Go for a living. I am jelly.

    • @MelkeyDev
      @MelkeyDev  3 месяца назад +1

      You can do it too!

  • @medilies
    @medilies 9 месяцев назад +2

    The chase is cut at 3:52

  • @popplestones886
    @popplestones886 2 месяца назад

    Why the hate on nesting packages?

  • @naresh_deeti
    @naresh_deeti Месяц назад

    In Go, why functions name should be in PascalCase, why lib/dependency called package

  • @emil_l889
    @emil_l889 10 месяцев назад +2

    Greatest Go content on RUclips GLOBALLY

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад +1

      Continuing this GO TRAIN

  • @lobokun
    @lobokun 10 месяцев назад +1

    can i delete my test folder if i do not use it?

    • @konjikiyami7301
      @konjikiyami7301 10 месяцев назад

      Yes, there is no need to create directories your project does not need as Go doesn't have as strict of project structure compared to other languages. Of course, there are a few exceptions, but the case you described is not one such.

  • @Cordic45
    @Cordic45 2 месяца назад

    nice job
    GOPATH vs go module really make me confused

  • @teej_dv
    @teej_dv 10 месяцев назад +1

    this doesn't look like ocaml?

  • @zevo92
    @zevo92 10 месяцев назад +1

    1. Nice video
    2. I may be dumb, but the first link you put in the right top corner, just takes me to " more from Melkey", which I think you did not intended. I'll put my thinking cap on and find that video, but I wanted to say this maybe it's a bug?!

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад

      Oh my.
      I am SO sorry.
      ruclips.net/video/OCotIc2Ah_0/видео.html&t
      This is the video. Thank you for catching that!

    • @zevo92
      @zevo92 10 месяцев назад

      @@MelkeyDev I’m something of scientist, and I found it myself. View it, liked it. Thank you sir! Cheers!

  • @IanHamilton-hm9xm
    @IanHamilton-hm9xm 5 дней назад

    No provided code repo?

  • @kubre
    @kubre 10 месяцев назад +1

    More go content

  • @JayJay-ki4mi
    @JayJay-ki4mi 6 месяцев назад +2

    Recovering Rust developer here.

  • @pylotlight
    @pylotlight 8 месяцев назад

    The biggest annoyance for me has been maintaining go versions and updates. Theres no inbuilt go update latest. you have to know the latest version number and manually manage that, then manually manage env vars which is also gross, I shouldn't have to be touching that imo.

  • @manfrombritain6816
    @manfrombritain6816 4 месяца назад

    i can't actually explain why but i like Go. the syntax feels a bit ... i dunno it's sort of like moving from speaking to English to German... everything seems to be in a slightly different order.
    but i like it

  • @AylaCroft
    @AylaCroft 7 месяцев назад +1

    😅 I need to learn Go. I think Backend dev is adding Go to their courses.

    • @MelkeyDev
      @MelkeyDev  7 месяцев назад

      Go is the BEST

  • @cbbcbb6803
    @cbbcbb6803 21 день назад

    And if I do not use github ...?

  • @mr.togrul--9383
    @mr.togrul--9383 10 месяцев назад +2

    HTMX +SVELTE+GO booom make it happen

  • @bumpy_lumps
    @bumpy_lumps 10 месяцев назад +2

    All these kids talking about Pokemon Go need to Pokemon Go write some Go

  • @CodeWithRivandra
    @CodeWithRivandra Месяц назад

    Man please zoom in 😂

  • @everythinggoes850
    @everythinggoes850 10 месяцев назад +3

    I agree with everything except the pkg directory. For me it creates an unnecessary indirection.

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад +1

      I honestly agree with you.
      I have only used internal in my projects (the demo shows that) but the convention for a lot of people was to include pkg as well

  • @tanrosa
    @tanrosa 7 месяцев назад

    Maybe it is only down to the guys, because I am really keen on testing!! 10:53 #GirlsInTech #WeGotPower

  • @clouds_304
    @clouds_304 10 месяцев назад +1

    Why is the one tag neovim 😂

  • @BrunoidGames
    @BrunoidGames 2 месяца назад +1

    Go 1.22 have router wildcards \m/

    • @MelkeyDev
      @MelkeyDev  2 месяца назад +1

      Oh HELL yes i didnt know this

    • @BrunoidGames
      @BrunoidGames 2 месяца назад

      @@MelkeyDev I mean.. Go, not Docker.. xD

  • @Learn_IT_with_Azizul
    @Learn_IT_with_Azizul 8 месяцев назад +1

    nice,,, but, plz proceed with more hands on.... then it would be better for the audience. Ty

  • @LacksonMunthali
    @LacksonMunthali 10 месяцев назад +1

    All you have to do is click the big blue button then booom!!! you are hoocked 😅

  • @drystack86
    @drystack86 25 дней назад

    so it's unconventional to have main.go at the actual root of the project?

  • @MisfitsFreshToDeath
    @MisfitsFreshToDeath 7 месяцев назад +1

    Ackshually, on Linux theyr'e called directories not folders

    • @MelkeyDev
      @MelkeyDev  7 месяцев назад

      lmfao get out of here

  • @markjameshender3592
    @markjameshender3592 4 месяца назад

    Recommended this channel and then I hear keep tests in a separate folder. Keep e2e and integration there only. Don't make people search that nest for unit tests..

  • @karimshakirov
    @karimshakirov 9 месяцев назад +1

    Use Arch btw

  • @musdevfrog
    @musdevfrog 10 месяцев назад +1

    Thanks Mr. VS C*de user.

  • @guhkunpatata3150
    @guhkunpatata3150 9 месяцев назад

    "I know you do not create test"
    that's not me. i created the folder test
    then delete it after 5 seconds.

  • @RandomShowerThoughts
    @RandomShowerThoughts 8 месяцев назад

    Personally I don’t like having a test directory, the tests should be near the source code with a _test name

    • @gearboxworks
      @gearboxworks 3 месяца назад

      Unit tests should be near the code, integration tests should be in their own directory.

  • @tarn_jihas
    @tarn_jihas 10 месяцев назад +1

    first hi

  • @bobhutchinson3638
    @bobhutchinson3638 12 дней назад

    3:50

  • @pocketmayo
    @pocketmayo 10 месяцев назад +1

    Hi dad

  • @alcb1310
    @alcb1310 8 месяцев назад +1

    Wait what, do you actually test??? Lol
    Ok in a serious note, you should make a video on go testing

    • @MelkeyDev
      @MelkeyDev  8 месяцев назад +1

      I will! Thank you

  • @navneetsingh5191
    @navneetsingh5191 6 месяцев назад +1

    Hey windows is pretty nice ok

  • @user-fb2cb6xp7c
    @user-fb2cb6xp7c 5 месяцев назад

    I almost killed myself while trying to arrange my golang project

  • @chineduekeneokpala3407
    @chineduekeneokpala3407 2 месяца назад

    I want to be good at test

  • @kodder
    @kodder 10 месяцев назад +1

    half asleep still, been trying to write something witty as comment...I got nothing. I failed myself.

  • @GustavoDiaz93
    @GustavoDiaz93 9 месяцев назад +47

    There is no a “best” way to structure your projects.

    • @2gbeh
      @2gbeh 3 месяца назад +2

      THERE ABSOLUTELY IS

    • @pieterrossouw8596
      @pieterrossouw8596 2 месяца назад +2

      but there are many terrible ways to structure codebases. Gotta keep the WTFs/min low.

    • @kaioneal6160
      @kaioneal6160 Месяц назад

      We have a new videos series idea .
      How to not structure your go projects

  • @cariyaputta
    @cariyaputta 10 месяцев назад +2

    This "standard" layout sucks, it's a convoluted mess. Ask yourself this question: Am I developing a library/tool or an application? For application development, there's no "standard" layout, start with the simplest flat project structure and go from there.

  • @poggybitz513
    @poggybitz513 5 месяцев назад

    what the f is "test"? this is the firs time I am hearing this word.

  • @joja2174
    @joja2174 3 месяца назад +1

    Me: Tests = 🤮🤮🤮
    5 minutes Later: * complains about bugs *

    • @MelkeyDev
      @MelkeyDev  3 месяца назад

      The hell is a test

  • @emil_l889
    @emil_l889 10 месяцев назад +1

    Python is a bit better tho ngl, u should do a video on how good Python is, Go and Rust are for beginners, we need professional Python content

    • @MelkeyDev
      @MelkeyDev  10 месяцев назад +2

      NAAAAAA
      I am the Go guy

  • @adimail2404
    @adimail2404 4 месяца назад

    I test

  • @rafael.aloizio1769
    @rafael.aloizio1769 3 месяца назад

    you can't give credits to someone that keep mocking windows like that

  • @XxwookiedancerxX
    @XxwookiedancerxX 10 месяцев назад +1

    test

  • @umardev500
    @umardev500 Месяц назад

    bad strucure

  • @adicide9070
    @adicide9070 8 месяцев назад

    i work in go but the second I see "go is awesome" I'm out :D