14 lines
200 B
Go
14 lines
200 B
Go
package get
|
|
|
|
import "fmt"
|
|
|
|
// Echo echoes a message
|
|
func Echo(args ...string) error {
|
|
i := make([]interface{}, len(args))
|
|
for idx, a := range args {
|
|
i[idx] = a
|
|
}
|
|
fmt.Println(i...)
|
|
return nil
|
|
}
|