Some coding challenges to develop my knowledge and skills in go.
A simple password validator with tests
Swap two strings
Return a string describing the OS with tests
Return a number as a word. For example, 2809 would be "two eight zero nine" with tests
This program is written in Go using Visual Studio Code, further information on this language can be found at: https://golang.org/.
Download from https://code.visualstudio.com/.
Download and install Go from https://golang.org/dl/.
Install with chocolatey
choco install golang
Install the Go (@id:ms-vscode.go) Plugin. This extension adds rich language support for the Go language to VS Code.
A programming guide for this language can be found at: https://golang.org/doc/
- Open the .go file in vscode
- Run by pressing Ctrl+F5
Build with
go build [file].go
Run with (Windows)
./[file].exe
Run with (Linux)
./[file]
- Press the Clone or download button in the top right
- Copy the URL (link)
- Open the command line and change directory to where you wish to clone to
- Type 'git clone' followed by URL in step 2
$ git clone https://github.com/FredHappyface/Go.CodingChallenges
More information can be found at https://help.github.com/en/articles/cloning-a-repository
- Press the Clone or download button in the top right
- Click open in desktop
- Choose the path for where you want and click Clone
More information can be found at https://help.github.com/en/desktop/contributing-to-projects/cloning-a-repository-from-github-to-github-desktop
- Download this GitHub repository
- Extract the zip archive
- Copy/ move to the desired location
MIT License Copyright (c) FredHappyface (See the LICENSE for more information.)