Git Product home page Git Product logo

golang-learning's Introduction

GOLANG-LEARNING

Install Git-bash as terminal for Windows
Install go from https://go.dev/dl/
Install Visual Studio for any platform
After Visual Studio installed need to intall Go modules
    Crtl + Shift + P
    > Go: Install/update (select all)

Create Project folder

Enter project folder via Git-Bash command line
Get your GOPATH by following command
    $ echo $GOPTAH
Initiate Go modules in project folder
    $ go mod init 'myapp' 'name of your application or location like github.com/user/myapp'

Opening Settings short cup
    Crtl + ,
    File --> Preferences --> Settings
    Update Settings
        "terminal.integrated.defaultProfile.windows": "Git Bash",
        "terminal.external.windowsExec": "C:\Program Files\Git\git-bash.exe",
        "terminal.integrated.cwd": "C:\Users\ricar\Desktop\Nextcloud\Programming\GitServer\golang",

Download godoc modules for references
    $ go get golang.org/x/tools/cmd/godoc
    $ go install golang.org/x/tools/cmd/godoc
To view godoc initial webserver
    $ godoc --http=:6060
Open favour browser browser and open URL
    http://localhost:6060

golang-learning's People

Contributors

gcclinux avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.