Gytis Repečka
|
da314f15dd
|
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 |
|
Gytis Repečka
|
9cda53cf77
|
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 |
|
Gytis Repečka
|
bb840a479c
|
Added basic-struct.go with example of using struct in struct, also calling method.
|
2018-10-10 22:11:25 +03:00 |
|
Gytis Repečka
|
14079d51e7
|
Updated README with initial details.
|
2018-10-09 20:37:00 +03:00 |
|
Gytis Repečka
|
b4c4f41f44
|
Added recursive-function.go initial version.
|
2018-10-09 20:16:16 +03:00 |
|
Gytis Repečka
|
d46be4de20
|
Initial commit
|
2018-10-07 22:24:58 +03:00 |
|