code: func goTypeRefExt(t design.DataType, tabs int, pkg string) string {
  	ref := codegen.GoTypeRef(t, nil, tabs, false)
  	if strings.HasPrefix(ref, "*") {
  		return fmt.Sprintf("%s.%s", pkg, ref[1:])
  	}
  	return fmt.Sprintf("%s.%s", pkg, ref)
  }
docs: // gotTypeRefExt computes the type reference for a type in a different package.