go-snippets

command module
v0.0.0-...-e496d9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 19 Imported by: 0

README

Go Snippets

This project includes small Go snippets for the Go newbies. All the Go files are small enough for you to easily follow them. It also includes my Go notes that I put together while I was learning the language.

How to use this project?

Each go file is designed to be concise and focus on a specific point of the language without creating a lot of other distractions around it. Since all the files are distinct and self contained, you can make your changes on each file and easily test it by running the go run <go_file_name> command.

Documentation

Overview

First statement in a file is a package declaration Your startup file always has a package of main The package name does not have to match the name of the directory or the source code file

Directories

Path Synopsis
18_creating_packages

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL