Comment

Comment by kiitos

Unfortunately not.

    func main() {
     c := color.Red
     cptr := (*string)(&c)
     *cptr = "orange"
     PrintColor(c) // successfully compiles, and prints "orange"
    }
parent kiitos 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton