From 4570caa188597cdd0b2d93962963977936f3b099 Mon Sep 17 00:00:00 2001 From: Donnie Adams Date: Tue, 14 Jul 2015 11:34:27 -0700 Subject: [PATCH] No idea --- types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.go b/types.go index ae8aed1..4868722 100644 --- a/types.go +++ b/types.go @@ -57,7 +57,7 @@ type User struct { func (u User) String() string { var str string - if u.FirstName != "" { + if u.UserName != "" { str += u.UserName } else { str += u.FirstName