VScode for Golang [2022] Simple setup!

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

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

  • @JohnCodes
    @JohnCodes  2 года назад +6

    Hope you enjoy the video! I know I've become much more of a vim-evangelist these days, but had to make an update to that last video since it got so so out of date.

    • @ReviewSmartTech
      @ReviewSmartTech 2 года назад

      how to get cobra project?

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

      in both tutorials for setup there is 0 info on how to create a file that can be run... what is the value of the video?

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

    Thanks John. Very informative and helpful video on getting set up.

  • @chaowmuscle
    @chaowmuscle 2 года назад

    Thank you. Please make more video like this. It's very helpful.
    I try to be Golang developer and I will someday. And want that day some you is one of them that helping me to get the job.

  • @YzKuro
    @YzKuro 2 года назад +6

    This is great video, but can you increase font for your video, I'm really hard to read from my laptopo

  • @ahmedanwer6899
    @ahmedanwer6899 2 года назад +5

    bro stop blocking half the screen

  • @andrewr1349
    @andrewr1349 Год назад

    Excellent vid bro! Thank you so much!

  • @romansheremeta2040
    @romansheremeta2040 11 месяцев назад

    you saved me lots of time, thx mate!👏

  • @slimyslime7740
    @slimyslime7740 2 года назад +1

    How do you open cobra? you didn't explain that

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

    I really want to know what is this color scheme. It looks so nice.

  • @SpikeRazorshards
    @SpikeRazorshards 2 года назад +8

    You lost me at "Cobra, which is a pretty popular Go project." My stuff's blank, dude. Where'm I supposed to get that?

    • @JohnCodes
      @JohnCodes  2 года назад +3

      Any ol Go project will do. Even a "hello world" program :) I was just using Cobra as an example. But if you'd like to poke around it, you can git clone it here: github.com/spf13/cobra

  • @74Bagas
    @74Bagas 2 года назад

    ok, lets'go. subscribed for this

  • @GDColtre
    @GDColtre 2 года назад +3

    I've recently started studying programming and I'm going for Go
    My issue is that autocomplete is simply not working at all, i've tried every online solution and nothing seems to get it done.
    I've updated the plugins, tried to change the json file as lots of ppl online said (including copy/pasting the whole file)
    I've restart the language several times and still nothing works, I'm very frustraded atm, any tips on what could be?

    • @franciscogomes4009
      @franciscogomes4009 2 года назад +1

      Hey. I struggled a lot with that. In my case, I'm able to get completions if I open the file UNDER the vs code workspace.
      Not working example:
      Vs code workspace: ~/test/golang/
      File opened: ~/another/path/main.go
      Working example:
      Vs code workspace: ~/another/
      File opened: ~/another/path/main.go
      Also, make sure that there are three folders under your $GOPATH: src, pkg, and bin.
      I'm sad that I spent so much time searching this. Hope it can help you!

    • @GDColtre
      @GDColtre 2 года назад +1

      @@franciscogomes4009 thx bro! This actually worked!! :)

    • @slowtyper95
      @slowtyper95 2 года назад

      @@franciscogomes4009 can you please elaborate more about the workspace thingy and how do i know where my workspace path at? usually i just open my project thru folder. thank you!

  • @探索生活dp
    @探索生活dp 6 месяцев назад

    I don't have the correct setup and when I click "run and debug", it tells me failed to launch. Also generate unit test for a function is not working as well.

  • @rishnavya
    @rishnavya Год назад

    Please share the video for go formatter, prettier doesn't seem to work for go

  • @AbbasBadran
    @AbbasBadran 2 года назад +1

    Dear John, nice videos...I wanted to ask you how do you shoot your videos? green screen? tools? I shoot management videos and trying to have the best setup

    • @JohnCodes
      @JohnCodes  2 года назад +2

      You're welcome!
      Green screen behind me, recorded with OBS, edited with Kden live. The mic is a Shure sm7b and I have that on a Cloudlifter and an audio interface. That's about it!

    • @AbbasBadran
      @AbbasBadran 2 года назад

      @@JohnCodes thanks s million

  • @vz79nr
    @vz79nr 2 года назад

    Lovely thank u John

  • @Krokodi
    @Krokodi Год назад

    Hi John, this video looked very promising, but unfortunately it couldn't answer my very simple question: How do I make a new go project? From scratch.

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

    Thank you

  • @FPChris
    @FPChris 2 года назад

    I had numerous fails on the tools. Install I had to copy the command line error text to install each tool manually until it finally stopped erroring.

  • @FPChris
    @FPChris 2 года назад

    Video player for Go?

  • @namename8986
    @namename8986 2 года назад

    John why do you have a winter hat on?

    • @JohnCodes
      @JohnCodes  2 года назад

      because it was winter when i recorded this 😄

  • @ashermanangan
    @ashermanangan Год назад

    thanks!

  • @yoshiyoshi6
    @yoshiyoshi6 11 месяцев назад

    5:51 I dont find it now

  • @alexanderk4481
    @alexanderk4481 Год назад

    Thanks

  • @eltirad0
    @eltirad0 2 года назад

    do you know how to work with microsrvices in golang? what I want to do is open a workspace folder with all my microservices and start working in a simple instance in VS Code instead of having a new VS Code instance for each microservice, I am able to open the workspace but it shows a lot of errors in each .go file in the import sections, I think I need to configure something about go modules (go.mod) in every microservice but I don't know what :(

    • @jerricotan
      @jerricotan Год назад

      Bro did you find any solution to this? This is my problem now :(

  • @budgetvloggertelugu2325
    @budgetvloggertelugu2325 2 года назад

    worst video.. be clear and stright forward