Move string extracting code to a separate func
Move string filtering code to a separate func
go fmt