go install
not enough arguments in call to test.Concat1
    have ()
    want (string)

Code:

package test

func Concat1(a string) string {
  if a == "" {
    a = "default-a"
  }
  return fmt.Sprintf("%s", a)
}

// other package

package main

func main() {
  test.Concat1()
}

Thanks in advance.