Getting started with Go — Continued

import "fmt"
import "time"
import (
"fmt"
"time"
)
var (name stringage intaddress stringmarried bool)
package main import "fmt"const (
name string = "Matthew"
)
func main(){
fmt.Println(name)
}
func HelloWorld(){fmt.Println("hello, world!")
}
func incrementByOne(number int){    number += 1    fmt.Println(number)}
func incrementByOne(number int) int{    number += 1    return number}
func incrementByOne(number, test int) (int, int) {    number += 1    return number, test}

--

--

--

Learning, and posting my findings!

Love podcasts or audiobooks? Learn on the go with our new app.

Serverless framework

Amazon Phone Interview Design API

Poly-YOLO — Colab Implementation

What I learned by migrating an RDS database into production using AWS DMS

Deploying a Python Flask REST API on IIS

Simplifying Communications

Top 5 Cloud Trends from Amazon Web Services (AWS) in 2018 [Infographic]

An intro to Mender — Part 2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Matthew Boyd

Matthew Boyd

Learning, and posting my findings!

More from Medium

Sorting Algorithms: Insertion Sort in Golang

Golang Debugging with Delve — [Step by Step]

Day 1 Go Training — Basics of GoLang

Go Language — Part 1(What is Go Language and Setup the Environment)?