Why

Appscore Golang Coding Test

What

First Reverse

Have the function FirstReverse(str) take the str parameter being passed and return the string in reversed order. For example: if the input string is Hello World and Coders then your program should return the string sredoC dna dlroW olleH.

Examples

Input: "coderbyte"
Output: etybredoc
Input: "I Love Code"
Output: edoC evoL I

How

Checkout and Install

git clone https://github.com/simonmittag/stringreverse.git && cd stringreverse

Run main program

go run stringreverse.go

Unit tests

go test