+update_go_home() {
+ rm -rf "$common_go_home"
+ ln -s "$new_go_home" "$common_go_home"
+
+ # TODO get better output from pathman / output the path to add as return to webi bootstrap
+ webi_path_add "$common_go_home/bin"
+ webi_path_add "$HOME/go/bin"
+}
+
+if [ -x "$new_go_home/bin/go" ]; then
+ update_go_home
+ exit 0
+fi
+