Skip to content

JeremyMorgan/Compare-Strings-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Compare Strings in Go

A simple demonstration of comparing two strings in Go.

This is the example code from this blog post, How Do I Compare Strings in Go?

This is a work in progress.

To time each function, uncomment them.

Then run

time go run csvcompare.go

or

go build csvcompare.go
time csvcompare

As a warning, if you compile it, the application will run faster and it's harder to find the differences. Compiler optimization is neat.

About

A simple demonstration of comparing two strings in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages