1
0
Fork 0
mirror of https://github.com/gytisrepecka/go-learning synced 2024-06-13 05:15:28 +03:00
Go language learning exercises.
Go to file
2019-02-17 13:58:12 +02:00
.gitignore Initial commit 2018-10-07 22:24:58 +03:00
basic-struct.go Added basic-struct.go with example of using struct in struct, also calling method. 2018-10-10 22:11:25 +03:00
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. 2019-02-17 13:58:12 +02:00
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. 2018-10-27 19:29:56 +03:00
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. 2018-10-27 19:29:56 +03:00
LICENSE Initial commit 2018-10-07 22:24:58 +03:00
README.md Updated README with initial details. 2018-10-09 20:37:00 +03:00
recursive-function.go Added recursive-function.go initial version. 2018-10-09 20:16:16 +03:00
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. 2018-10-27 20:17:19 +03:00
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. 2019-02-17 13:58:12 +02:00

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.