This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
язык_программирования_golang [2023/08/15 09:25] val |
язык_программирования_golang [2023/08/15 10:15] val |
||
---|---|---|---|
Line 23: | Line 23: | ||
) | ) | ||
+ | const ver = "ver1.1" | ||
func main() { | func main() { | ||
Line 37: | Line 38: | ||
panic(err) | panic(err) | ||
} | } | ||
- | fmt.Fprint(w, "Hello world from " + name + " ver1.1\n") | + | fmt.Fprint(w, "Hello world from " + name + " " + ver + "\n") |
} | } | ||
</code><code> | </code><code> |