Skip to content

julisman/playgo

Repository files navigation

Play With GOLANG

learn 1.

for _, v := range jobs {
   fmt.Println(v)
}

using (_) if the i dont want to print, because if we using for i , i should be used

learn 2.

d := make (chan string) -> make chanel
go second(d) -> do gorountine
fmt.Printf(<-d) -> catch value from function which is implement gorountine

if you want gorountine showed in 'main' you should implement chan (chanel)

learn 3. array of object

About

having fun with go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages