Go language learning exercises.
You can not 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.
1 year ago
.gitignore Initial commit 1 year ago
LICENSE Initial commit 1 year ago
README.md Updated README with initial details. 1 year ago
basic-struct.go Added basic-struct.go with example of using struct in struct, also calling method. 1 year 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. 1 year 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. 1 year 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. 1 year ago
recursive-function.go Added recursive-function.go initial version. 1 year 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. 1 year 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. 1 year 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.