go-pattern-examples/behavior/26_option/functional_options_test.go
2020-04-27 10:27:37 +08:00

16 lines
256 B
Go

package option
import (
"testing"
)
func TestFileFunctionOptions(t *testing.T) {
Introduce("tom", Gender(true), Company("land company"))
Introduce("lily", Company("sky commnay"), UID(123))
Introduce("admin", Company("risky commnay"), UID(883))
}