Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewS1p (0.06 sec)

  1. src/go/doc/doc_test.go

    	}
    }
    
    const funcsTestFile = `
    package funcs
    
    func F() {}
    
    type S1 struct {
    	S2  // embedded, exported
    	s3  // embedded, unexported
    }
    
    func NewS1()  S1 {return S1{} }
    func NewS1p() *S1 { return &S1{} }
    
    func (S1) M1() {}
    func (r S1) M2() {}
    func(S1) m3() {}		// unexported not shown
    func (*S1) P1() {}		// pointer receiver
    
    type S2 int
    func (S2) M3() {}		// shown on S2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:52 UTC 2022
    - 6.7K bytes
    - Viewed (0)
Back to top