Difference between revisions of "For (go lang)"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
[[package]] main | [[package]] main | ||
− | [[import]] "fmt" | + | [[import]] "[[fmt]]" |
[[func]] [[main]]() { | [[func]] [[main]]() { | ||
Line 11: | Line 11: | ||
for { | for { | ||
sum++ | sum++ | ||
− | fmt.Println(sum) | + | fmt.[[Println]](sum) |
} | } | ||
} | } |
Latest revision as of 19:56, 10 December 2021
Advertising: