OpenDevopendev.hashnode.dev·Feb 19, 2023[Golang] Test Performance - 2Comparing the Check If-Else String package main import ( "strings" "testing" ) func CheckIfElseEmpty(s string) string { if s == "sdfsdsdfsdsdfsdsdfsdsdfsdsdfsd" { return s } return s } func CheckIfElseLen(s string) strin...2 likes·50 readsgolangGo LanguageAdd a thoughtful commentNo comments yetBe the first to start the conversation.