VariableAmountOfArgs
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package sub
|
||||
|
||||
import "fmt"
|
||||
|
||||
func Hi() {
|
||||
fmt.Println("Hi from sub pkg")
|
||||
}
|
||||
|
||||
// Hello() just prints out another version of greeting
|
||||
func Hello() {
|
||||
fmt.Println("Hello from sub package!!")
|
||||
}
|
||||
Reference in New Issue
Block a user