Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Golang

Golang

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all
  • Be the first to comment

  • Be the first to like this

Golang

  1. 1. GO http://www.golangbootcamp.com/book/frontmatter https://tour.golang.org/welcome/1 https://youtu.be/ytEkHepK08c?list=PL7K3KrS_OrGnUKmSyzYupejzZ1HFFnA6H
  2. 2. BETTER C Google Android DockerKenThompson Unix C72 years old! Thompson(left) with Deniss Ritchie We owe them a lot!
  3. 3. Concurrency Defer Embed Exception Pointer First Class Function Generics Inheritance LANGUAGE DESIGN Garbage Collection Concurrency?
  4. 4. HELLO WORLD public static void…!
  5. 5. ARRAY & MAP for … range
  6. 6. TYPE POJO JSON?
  7. 7. EMBED Mixin! JSON!
  8. 8. POINTER p x=5 0xc20800a220 Reference! 0xc20800a228 y=10 t 0xc20800a338 20
  9. 9. FUNCTION call by value, call by reference &z z=5 0xc20800a220 fun IncPtr(val *int) { *val +=1
  10. 10. DEFER try … finally Execute a function when the surrounding function returns
  11. 11. OOP type + func = class
  12. 12. GOROUTINE go
  13. 13. CHANNEL <- chan int fun sumsUp(…) { c <- sumret1 := <- c
  14. 14. HTTP SERVER This couldn’t be simpler!
  15. 15. INTERFACE DuckTyping When I see a bird that walks like a duck and swims like a duck and quacks like a duck, I call that bird a duck

×