https://github.com/mickablondo/golang-exercises
Exercises to learn coding with golang.
https://github.com/mickablondo/golang-exercises
golang tutorial
Last synced: 3 months ago
JSON representation
Exercises to learn coding with golang.
- Host: GitHub
- URL: https://github.com/mickablondo/golang-exercises
- Owner: mickablondo
- Created: 2022-12-30T19:22:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-28T20:42:49.000Z (over 1 year ago)
- Last Synced: 2024-12-28T21:23:57.280Z (over 1 year ago)
- Topics: golang, tutorial
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golang Exercises
## What's this?
Exercises to learn how to develop applications with Go.
Let [MiK@](https://github.com/mickablondo) be your guide...
## What are these exercises?
Simple exercises for now.
Open all the Go files and try them.
Edit variables and code to see how the code behaves.
## How to run the apps?
First, install [Go](https://go.dev/dl/)!
Then, execute this command:
```bash
go run .\src\\\main.go
```
### Hmmm... why so many folders?
It's not permitted to declare multiple 'main' functions in the same package.
To try our code, we need one 'main' function per example... so we need one package per example, and a directory is a package in Go!
Is that clear? :-)