move URI from util.go to mogogo.go