Task api in go