Home
About
  • Learning Golang: Comments

    Aug 18, 2020 golang

    This is part 5 of my journey learning Golang. Inline comments Go ignores text to the right of //: 1// This entire line is ignored by the compiler. 2// fmt.Println("Does NOT print") 3fmt.Println("This gets printed!") // This part gets ignored Block comments All lines between /* and */ will be ignored: …

    Read More
  • Learning Golang: Function declarations

    Aug 16, 2020 golang

    This is part 4 of my journey learning Golang. Function declarations Functions are reusable blocks of code. For example: 1func main () { 2 fmt.Println("Hello, World!") 3} The func keyword declares a function. It is followed by the function’s name, a list of arguments (delimited by parenthesis) and the …

    Read More
  • Learning Golang: Packages

    Aug 16, 2020 golang

    This is part 3 of my journey learning Golang. Package declaration The first line of a Go source file is the “package declaration”, defined by the package keyword. This serves a few purposes: It provides a structure for grouping related source files. It provides a mechanism for code reuse. It differentiates …

    Read More
  • Learning Golang: Compiling and running Go programs

    Aug 16, 2020 golang

    This is part 2 of my journey learning Golang. Compiling Go programs An individual Go source file can be compiled with the go build command: 1go build {filename}.go That will produce an executable binary file if the source’s package is main (see Part 3 for more on packages). The resulting binary can be executed …

    Read More
  • Learning Golang: Getting Started

    Aug 16, 2020 golang

    This is part 1 of my journey learning Golang. The Go programming language (Golang) is becoming more relevant by the day. It is, famously, the language of the Docker and Kubernetes projects. Both have had a huge impact on how companies run applications, and I develop for them on a daily basis. Golang is also seeing …

    Read More
  • Custom domain with GitHub Pages

    Aug 15, 2020 blogging DNS GitHub Pages

    I am hosting my blog on GitHub Pages. I wanted to use my own domain name instead of a github.io subdomain. GitHub’s documentation is very helpful. Even so, it took me some effort to figure out all the details, so I’m going to share what I learned. These instructions are for using an “apex …

    Read More
  • New Blog

    Aug 13, 2020 blogging

    I decided to start a new blog to talk about software development. It’s been about 5 years since I last had a blog, so I went looking for what people are using in 2020. It turns out that Hugo is quite popular for building static sites. Two of its selling points are that it is super fast, and that people have built …

    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

Fernando Correia

Principal Software Engineer at Domino Data Lab. We're hiring!

Read More

Featured Posts

Recent Posts

  • My origin story: TK85
  • Learning Golang: Random numbers
  • Learning Golang: Scoped shorthand variable declaration
  • Learning Golang: switch
  • Learning Golang: Logical operators
  • Learning Golang: if and else
  • Learning Golang: Scan, Scanln and Scanf
  • Learning Golang: Sprint, Sprintln, Sprintf

categories

LEARNING-GOLANG 23 PERSONAL 1

tags

GOLANG 23 BLOGGING 3 DNS 1 GITHUB-PAGES 1 ORIGIN 1

Copyright ©  Fernando de Alcantara Correia. Licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) License.