Handle data in a goroutine