gofmt changes

This commit is contained in:
2019-10-11 07:27:33 -06:00
parent 784dd58eb3
commit c3104b3695
3 changed files with 126 additions and 127 deletions

View File

@ -5,12 +5,12 @@ package main
import (
"encoding/json"
"fmt"
"github.com/magefile/mage/mg"
"github.com/magefile/mage/sh"
"io/ioutil"
"net/http"
"os"
"strings"
"github.com/magefile/mage/sh"
"github.com/magefile/mage/mg"
)
// emoji related constants
@ -117,4 +117,3 @@ func BuildBeta() {
mg.Deps(BuildEmoji)
sh.Run("go", "build", "-tags", "allcommands,showreactionscmd,emojiList")
}

View File

@ -245,7 +245,7 @@ func stringRemainder(aStr, bStr string) string {
var long, short string
//figure out which string is longer
switch {
case len(aStr) < len (bStr):
case len(aStr) < len(bStr):
short = aStr
long = bStr
default: