示例#1
0
func (m *Timestamp) String() string { return proto.CompactTextString(m) }
示例#2
0
文件: text_test.go 项目: sombr/ccat
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)
	}
}
示例#3
0
文件: void.pb.go 项目: sombr/ccat
func (m *Void) String() string { return proto.CompactTextString(m) }