Пример #1
0
func (m *Message) String() string { return proto.CompactTextString(m) }
Пример #2
0
func (m *Nested) String() string { return proto.CompactTextString(m) }
Пример #3
0
func (m *Test) String() string { return proto.CompactTextString(m) }
Пример #4
0
func TestCompactText(t *testing.T) {
	s := proto.CompactTextString(newTestMessage())
	if s != compactText {
		t.Errorf("Got:\n===\n%v===\nExpected:\n===\n%v\n===\n", s, compactText)
	}
}
Пример #5
0
func (m *Test_OptionalGroup) String() string { return proto.CompactTextString(m) }