I found the regular go book, The Go Programming Language by Donovan and Brian Kertnighan was reminiscent of the C book, and easy to work from.

For how to learn, I might look and see if there is a good O'Reilly talk series. I see a bunch listed.

--dave

On 10/13/24 23:28, William Park via talk wrote:
Dear Go experts,

I finally decided to dive into Go.  Searching around "go.dev", I can't seem to find proper introduction, suitable for C programmer.  Can someone point me to where it might be buried?

I want the usual introduction, starting with
    - data types, variables, data structures
    - syntax (Go seems to use more symbols than C)
    - if-then, loops, functions, etc.

Eg. I started with

    func main() {
        code, text := fmt.Print ("Print:", "hello", "world\n")
        code, text := fmt.Printf ("Printf: %s %s\n", "hello", "world")
        code, text := fmt.Println ("Println:", "hello", "world")
    }

and got errors.  I managed to figure it out, by trial and error.  Not very efficient learning...
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
-- 
David Collier-Brown,         | Always do right. This will gratify
System Programmer and Author | some people and astonish the rest
davecb@spamcop.net           |              -- Mark Twain