github.com/artisanhe/tools@v1.0.1-0.20210607022958-19a8fef2eb04/gen_method/scanner_test.go (about) 1 package gen_method 2 3 import ( 4 "testing" 5 ) 6 7 func TestScanner(t *testing.T) { 8 scanner := NewScanner("github.com/artisanhe/tools/gen_method/examples") 9 scanner.Output("CustomerG7", false) 10 scanner.Output("User", true) 11 scanner.Output("PhysicsDeleteByUniquustomerG7", false) 12 }