Golang Behaviour tree