ivpusic / grpool

Lightweight Goroutine pool

Home Page:https://godoc.org/github.com/ivpusic/grpool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

need fixes to run examples/first.go and examples/second.go

progamer71 opened this issue · comments

@ivpusic I have to change
"package grpool" to "package main"
and
"func first() {" to "func main() {"
in examples/first.go to run command
go run src/github.com/ivpusic/grpool/examples/first.go

I also have to fix in the same way for examples/second.go

yes, they are not intended to be run as a program, but just to serve as an code example