20 lines
188 B
Go
20 lines
188 B
Go
package provider
|
|
|
|
import "fmt"
|
|
|
|
type T1 struct {
|
|
Name string
|
|
}
|
|
|
|
func (t *T1) Info() {
|
|
fmt.Println(t.Name)
|
|
}
|
|
|
|
func Bar() {
|
|
Foo()
|
|
}
|
|
|
|
func Sample() {
|
|
fmt.Println("Hello from Provider")
|
|
}
|