You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: arguments.go
    path of file: ./repos/c2goasm
    
    the code of the file until where you have to start completion: /*
 * Minio Cloud Storage, (C) 2017 Minio, Inc.
 *
 * Licensed under the Apache License, Versi
    
func getGolangArgs(protoName, goline string) (isFunc bool, args, rets []string, err error) {

	// Search for name of function and arguments
	if match := regexpFuncAndArgs.FindStringSubmatch(goline); len(match) > 2 {
		if match[1] == "_"+protoName {

			args, rets = []string{}, []string{}
			if match[2] != "" {
				for _, arg := range strings.Split(match[2], ",") {
					args = append(args, strings.Fields(arg)[0])
				}
			}

			trailer := strings.TrimSpace(match[3])
			if len(trailer) > 0 {
				// Trailing string found, search for return values
				if rmatch := regexpReturnVals.FindStringSubmatch(trailer); len(rmatch) > 1 {
					for _, ret := range strings.Split(rmatch[1], ",") {
						rets = append(rets, strings.Fields(ret)[0])
					}
				} else {
					return false, args, rets, errors.New(fmt.Sprintf("Badly formatted return argument (please use parenthesis and proper arguments naming): %s", trailer))
				}

			}

			return true, args, rets, nil
		}
	}

	return false, []string{}, []string{}, nil
}