Go language learning exercises.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Gytis Repečka f05b313484
Added files csv-file.go and trackLog-sample.csv. These are to try out Go to load and process CSV files. File trackLog-sample.csv contains extract of real time data that is retrieved from car ECU using OBD2 scanner.
4 years ago
.gitignore Initial commit 5 years ago
LICENSE Initial commit 5 years ago
README.md Updated README with initial details. 5 years ago
basic-struct.go Added basic-struct.go with example of using struct in struct, also calling method. 5 years ago
csv-file.go Added files csv-file.go and trackLog-sample.csv. These are to try out Go to load and process CSV files. File trackLog-sample.csv contains extract of real time data that is retrieved from car ECU using OBD2 scanner. 4 years ago
draw-image.go Added draw-image.go which draws circle using Midpoint circle algorithm. To output full circle I used to draw smaller circles inside up to center but eventually there are not filled pixels left. 4 years ago
draw-image.png Added draw-image.go which draws circle using Midpoint circle algorithm. To output full circle I used to draw smaller circles inside up to center but eventually there are not filled pixels left. 4 years ago
recursive-function.go Added recursive-function.go initial version. 5 years ago
struct-interface.go Added struct-interface.go - in this exercise two structs Car and Truck has interface Vehicle and methods for it. Example shows how methods (functions) should be written for just specific struct or for the interface (i.e. applicable for both Car and Truck). Also explaining use of pointers as opposed to using a copy of obejct. 4 years ago
trackLog-sample.csv Added files csv-file.go and trackLog-sample.csv. These are to try out Go to load and process CSV files. File trackLog-sample.csv contains extract of real time data that is retrieved from car ECU using OBD2 scanner. 4 years ago

README.md

go-learning

Go language learning exercises.

Download and run

Download repository contents from GitHub:

git clone https://github.com/gytisrepecka/go-learning.git

Run desired file, e.g.:

go run recursive-function.go

Have fun!

Credits

These programs are written as Go programming language self-learning effort by Gytis Repečka. Read more at my website.