programming:go
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programming:go [2023/09/04 19:50] – skipidar | programming:go [2023/11/01 07:31] (current) – ↷ Page moved from camunda:programming:go to programming:go skipidar | ||
---|---|---|---|
Line 238: | Line 238: | ||
- | == Structs == | + | == Structs |
Structure to hold data in Go Lang | Structure to hold data in Go Lang | ||
- | {{https:// | + | |
Line 252: | Line 252: | ||
// getter | // getter | ||
+ | // attention - the assignment to struct - is derived from parenthesis after " | ||
// is declared OUTSIDE of struct :( | // is declared OUTSIDE of struct :( | ||
func (a author) fullName() string { | func (a author) fullName() string { | ||
Line 277: | Line 278: | ||
</ | </ | ||
+ | |||
+ | '' | ||
+ | |||
+ | Explains why to pass | ||
+ | |||
+ | {{https:// | ||
programming/go.1693857012.txt.gz · Last modified: by skipidar