Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStructType (0.14 sec)

  1. src/encoding/gob/type_test.go

    	D []byte
    	E *float64    // will become float64
    	F ****float64 // will become float64
    	G *Bar
    	H *Bar // should not interpolate the definition of Bar again
    	I *Foo // will not explode
    }
    
    func TestStructType(t *testing.T) {
    	sstruct := getTypeUnlocked("Foo", reflect.TypeFor[Foo]())
    	str := sstruct.string()
    	// If we can print it correctly, we built it correctly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top