Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for structtag (0.21 sec)

  1. src/reflect/all_test.go

    	if gotA != wantA || gotB != wantB {
    		t.Errorf("function called with (%v, %v), want (%v, %v)", gotA, gotB, wantA, wantB)
    	}
    }
    
    var tagGetTests = []struct {
    	Tag   StructTag
    	Key   string
    	Value string
    }{
    	{`protobuf:"PB(1,2)"`, `protobuf`, `PB(1,2)`},
    	{`protobuf:"PB(1,2)"`, `foo`, ``},
    	{`protobuf:"PB(1,2)"`, `rotobuf`, ``},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top