๐Ÿจ Go lang Study Repository.

go

๐Ÿจ Go lang Study Repository.

01 - Hello World

Hello world in GO!

What have learned?

  • Create a module using the go init command.
  • Declare a package.
  • Import standard packages.
  • Importing external packages.
  • Synchronize dependencies using the go mod tidy command.
  • Reference

02 - First module

Creating a module!

What have learned?

  • Declaring a function, as well as the type of parameter and return.
  • I learned that functions with a capital initial can be called by a function that is not in the same package.
  • I learned how to declare a variable and assign the value in one line using :=.
  • Formatting a string using the Sprintf function.
  • Reference

03 - Using module

Import a local module!

What have learned?

  • Import a local module.
  • Use the go mod edit -replace module=directory command to reference a local module.
  • Reference

04 - Handling errors

Validations and error handling!

What have learned?

  • How a function can return multiple values.
  • Use the errors module to throw exceptions.
  • Use the log module to display errors in the terminal.
  • Assign value to a variable already declared using =.
  • Reference
Owner
klaby
๐Ÿง‘โ€๐Ÿ”ฌ Personal laboratory for @hiukky experiments. โ˜ฃ๏ธ
klaby
Similar Resources

The resource repository of the book "gRPC - Up and Running".

The resource repository of the book

The resource repository of the book "gRPC - Up and Running".

Feb 4, 2022

๐Ÿจ Go lang Study Repository.

go ๐Ÿจ Go lang Study Repository. 01 - Hello World Hello world in GO! What have learned? Create a module using the go init command. Declare a package. I

Feb 15, 2022

based on go lang build WEB development framework for go lang beginners .

based on go lang build WEB development framework for go lang beginners .

Oct 31, 2021

CLRS study. Codes are written with golang.

algorithms CLRS study. Codes are written with golang. go version: 1.11 Heap BinaryHeap on array BinaryHeap on linkedlist LeftistHeap FibonacciHeap Tre

Dec 26, 2022

Study project that uses Apache Kafka as syncing mechanism between two databases, with producers and consumers written in Go.

Kafka DB Sync Study project that uses Apache Kafka as syncing mechanisms between a monolith DB and a microservice. The main purpose of this project is

Dec 5, 2021

A simple crawling study that obtained the new houses for sale in Wuhan, China

Crawling-Study This is a simple crawling study that obtained the new houses for sale in Wuhan, China. The used programming language was Go. As a begin

Nov 4, 2021

Study Project for the application of micro services and requisition controls

Starting Endpoint GO with Retry Request Install GoLang for Linux Tutorial: LINK

Jul 4, 2022

E-commerce-project - RESTFUL API for TakTuku an E-Commerce App created for the purpose of study

About The Project RESTFUL API for TakTuku an E-Commerce App created for the purp

Jul 23, 2022

Nomad Coin - Nomad Coin study

nomad_Coin nomad_Coin study ๋…ธ๋งˆ๋“œ์ฝ”์ธ ์Šคํ„ฐ๋”” Rough ์ƒ์ˆ˜ ๋ฐ ๋ณ€์ˆ˜ ** ์ƒ์ˆ˜์„ ์–ธ const name string =

Feb 2, 2022

Bcfm-study-case - A simple http server using the Echo library in Go language

Bcfm-study-case - A simple http server using the Echo library in Go language

Task 1 Hakkฤฑnda Burada Go dilinde Echo kรผtรผphanesini kullanarak basit bir http s

Feb 2, 2022

Target Case Study - Document Search

 Target Case Study - Document Search

Target Case Study - Document Search Goal The goal of this exercise is to create

Feb 7, 2022

Repository for learning GO lang

LearnGOLang Repository for learning GO lang. What is Go? Go is a fast, statically typed compiled language Compiled to machine level code, does not nee

Oct 15, 2021

The repository intent is store some Go Lang codes.

โš ๏ธ Go programming course โš ๏ธ This repository was created to share the Learn How To Code: Google's Go (golang) Programming Language code created by Todd

Jan 16, 2022

Image - This repository holds supplementary Go image librariesThis repository holds supplementary Go image libraries

Go Images This repository holds supplementary Go image libraries. Download/Insta

Jan 5, 2022

This is the repository I made while learning Go Programming Language & You can follow this repository to learn it

This is the repository I made while learning Go Programming Language & You can follow this repository to learn it

Golang Arena ๐Ÿš€ Hey Folks! Welcome to Golang Arena . This is the repository I made while learning Go Programming Language & You can follow this reposi

Jan 31, 2022

Go (lang) HTTP session authentication

Go Session Authentication See git tags/releases for information about potentially breaking change. This package uses the Gorilla web toolkit's session

Dec 22, 2022

Set is a useful collection but there is no built-in implementation in Go lang.

goset Set is a useful collection but there is no built-in implementation in Go lang. Why? The only one pkg which provides set operations now is golang

Sep 26, 2022

Neo4j Rest API Client for Go lang

neo4j.go Implementation of client package for communication with Neo4j Rest API. For more information and documentation please read Godoc Neo4j Page s

Nov 9, 2022

Small TCP benchmarking tool in Go-lang

Simple TCP benchmark tool in Go =============================== This package provides simple command line tool to benchmark number of concurrent TCP

Aug 16, 2021
The repository intent is store some Go Lang codes.

โš ๏ธ Go programming course โš ๏ธ This repository was created to share the Learn How To Code: Google's Go (golang) Programming Language code created by Todd

Jan 16, 2022
Learning and Practice - Go Lang

Go Lang - Learning and Practice All the code stored here is provided by Tour of Go Basics Packages, variables, and functions Flow control statements:

Jan 14, 2022
Example repository for embedding Litestream in a Go application.

Litestream as Library This repository is an example of embedding Litestream as a library in a Go application. The Litestream API is not stable so you

Dec 6, 2022
This is the repository for the LinkedIn Learning course Learning Go.
This is the repository for the LinkedIn Learning course Learning Go.

Learning Go This is the repository for the LinkedIn Learning course Learning Go. The full course is available from LinkedIn Learning. What is Go? Go i

Nov 2, 2021
Repository for COMP 429 Programming Assignment# 1 - A simple chat application, by Sabra Bilodeau.

Chatty COMP 429 Programming Assignment 1 A Chat Application for Remote Message Exchange by Sabra Bilodeau Getting Started with Chatty Building the Pro

Nov 28, 2021
A repository for showcasing my knowledge of the Google Go (2009) programming language, and continuing to learn the language.

Learning Google Golang (programming language) Not to be confused with the Go! programming language by Francis McCabe I don't know very much about the

Nov 6, 2022
A repository for showcasing my knowledge of the Go! (2003) programming language, and continuing to learn the language.
A repository for showcasing my knowledge of the Go! (2003) programming language, and continuing to learn the language.

Learning Go! (programming language) Not to be confused with Google Golang (2009) I don't know too much about the Go! programming language, but I know

Oct 22, 2022
This repository contains Sougata Khan's solutions to the Exercism Golang Track

Exercism Golang Track This repository contains Sougata Khan's solutions to the Exercism Golang Track Exercises Exercism Problem Solution Description H

Dec 29, 2021
Gotk4-subclassing - Experimental repository for gotk4 subclassing

gotk4 A GTK4 bindings generator for Go. Package documentation | Package examples

Jan 8, 2022
A repository with my resolutions of the GO exercises from github.com/gophercises

GOPHERCISES A repository with my resolutions of the GO exercises from github.com/gophercises Gophercises is a FREE course that will help you become mo

Feb 1, 2022