Things to Do At the End of the Day on Friday When You're Tired
Well, you have to be a language nerd, of course, but here was what I assigned myself: Complicate the heck out of "Hello, World!", or simplify the heck out of Go channels:
package main
import (
"fmt"
)
func channelHandler(ch chan string ) {
s := <- ch
fmt.Print(s)
ch <- "World!"
}
func main() {
var ch chan string
ch = make(chan string)
go channelHandler(ch)
ch <- "Hello, "
s := <- ch
fmt.Println(s)
}
Product Development Consultant/Formulator
4 年Hey John, it's Vicki. Hope you both are doing ok. I'm back to trying to get a website set up. I purchased a domain in 2018 but didn't get anything accomplished so I was wondering if you could help me and I'll pay you. My phone is the same: 530 409 1100. Email: [email protected]. Thank you and hope to talk to you soon.
Product Development Consultant/Formulator
6 年Hi John, Call me when you have a moment.. Much appreciated. Vicki?