Skip to content

gospacedev/palindrome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

palindrome

A palindrome string checker

Install

go get -u github.com/gocrazygth/palindrome

Example

package main

import (
	"fmt"
	"github.com/gocrazygth/palindrome"
)

func main() {
	a := pal.Check("racecar")
	b := pal.Reverse("drawer")
	fmt.Println(a)
	fmt.Println(b)
}

Output:

true
reward

Releases

No releases published

Packages

No packages published

Languages