Skip to content

pynezz/hello-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 

Repository files navigation

hello-go

golang.org
Go 1.16.3

This is a repository where I explore Go!

Syntax

  • PascalCase is for exported (public) functions, and camelCase for private. (Documentation)

  • := declares a new inferred type

  • type declaration is reversed as from C#

  • No need for parentheses in if statements

  • No need for semicolon at end of variables etc. unless it's

    Go functions:

    func function(i int) {
        // code goes here
    }

    C# methods:

    void Method(int i)
    {
        // code goes here
    }

Sources

Go - golang.org


Go - other sources

Github

Markdown

misc

First google result on term 'go semicolon' yielded possibly one of the earliest questions about Go on stackoverflow, datet 2 days after first official announcement (November 12th, 2009)

gRPC

Releases

No releases published

Packages

No packages published

Languages