System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by:
int ubaciUSortiranuListu(LISTA lista, int noviPodatak){ | |
POKAZIVAC noviElement = malloc(sizeof(ELEMENT)); | |
POKAZIVAC tekuci = lista->glava; | |
POKAZIVAC prethodni = NULL; | |
if (tekuci==NULL) | |
{ | |
lista->glava = noviElement; | |
lista->rep = noviElement; | |
} |
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go
directory by: