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:
| javascript:var%20KICKASSVERSION='2.0';var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='//hi.kickassapp.com/kickass.js';void(0); |
| // Copyright (c) 2017 Ismael Celis | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights | |
| // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| // copies of the Software, and to permit persons to whom the Software is | |
| // furnished to do so, subject to the following conditions: | |
| // The above copyright notice and this permission notice shall be included in all |
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:
| <html> | |
| <body> | |
| <script> | |
| /** | |
| * This array diff algorithm is useful when one wants to detect small changes | |
| * (like consecutive insertions or consecutive deletions) several times | |
| * in short time intervals. Alternative algorithms like LCS woud be too expensive | |
| * when running it too many times. | |
| */ |
| package main | |
| import ( | |
| "io" | |
| "net/http" | |
| "os/exec" | |
| ) | |
| var ( | |
| BUF_LEN = 1024 |