Golang Viewer Test

code_thinker_go/test_files/sel/subsel/test_level.go
1package subsel
2
3import "fmt"
4
5type TestStructSubSub struct {
6    E string
7    F int
8}
9
10func (ts TestStructSubSubSayGood(word stringstring {
11    fmt.Printf("hello good %s"word)
12    SayGood(word)
13    return ""
14}
15
16type TestStructSub struct {
17    E   string
18    F   int
19    Sub TestStructSubSub
20}
21
22func (ts TestStructSubSayGood(word string) {
23    fmt.Printf("hello good %s"word)
24}
25
26type TestStruct struct {
27    A       string
28    B       int
29    C       TestStructSub
30    TestASN string
31}
32
33func (ts TestStructSayGood(word stringTestStruct {
34    fmt.Printf("hello good %s"word)
35    SayGood(word)
36    return TestStruct{}
37}
38
39func SayGood(word stringTestStruct {
40    fmt.Printf("hello good %s"word)
41    return TestStruct{}
42}
43
44func (ts TestStructSayGoodTestStruct(word stringTestStruct {
45    fmt.Printf("hello good %s"word)
46    return TestStruct{}
47}
48
49func SayGoodTestWhile(word stringTestStruct {
50    fmt.Printf("hello good %s"word)
51    return TestStruct{}
52}
53
54/*
55*
56
57
58
59
60
61
62
63
64
65
66
67
68 */
69func (ts TestStructSayGoodTest(word stringTestStructSub {
70    fmt.Printf("hello good %s"word)
71    ts.SayGood("")
72    return TestStructSub{}
73}
74
TestStructSub
TestStructSub.Sub
TestStruct.C
SayGood
TestStruct.SayGoodTest.word
TestStructSub.SayGood.word
TestStruct
TestStruct.SayGood.ts
TestStruct.TestASN
TestStruct.SayGood
TestStructSubSub
TestStructSubSub.E
TestStructSubSub.SayGood.ts
TestStructSubSub.SayGood
TestStructSub.SayGood
TestStruct.B
TestStruct.SayGoodTestStruct.ts
TestStruct.SayGoodTestStruct.word
SayGoodTestWhile
TestStructSub.E
TestStruct.A
TestStruct.SayGoodTest
TestStructSub.F
TestStruct.SayGoodTestStruct
TestStruct.SayGoodTest.ts
SayGoodTestWhile.word
fmt
TestStructSubSub.F
TestStructSubSub.SayGood.word
TestStructSub.SayGood.ts
TestStruct.SayGood.word
SayGood.word