How to convert string to hex string in Golang

  • 26 June 2020
  • ADM

How to convert a string into a hex string in Golang using EncodeToString method from encoding/hex package.


How to convert hex to string in Golang

  • 12 April 2019
  • ADM

How to convert hex to string in Golang using the DecodeString method from encoding/hex package.


How to rename a git branch

  • 13 May 2020
  • ADM

How to rename a git branch in simple steps: rename branch, delete old remote, push the new branch and reset the upstream branch.


How to remove a remote from git

  • 14 April 2020
  • ADM

To remove a remote you can use the command git remote rm in the terminal, from the root folder of your repository.


How to remane a remote from git

  • 10 August 2018
  • ADM

To rename a remote you can use the command git remote rename in the terminal, from the root folder of your repository.


How to add a remote to git

  • 23 March 2020
  • ADM

To add a new remote you need to use the git remote add command on the terminal in the root folder of your repository.