MCPcopy
hub / github.com/grafana/tempo / entryWithSubtext

Function entryWithSubtext

tools/chloggen/cmd/cmd_test.go:94–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func entryWithSubtext() *chlog.Entry {
95 lines := []string{"- foo\n - bar\n- blah\n - 1234567"}
96
97 return &chlog.Entry{
98 ChangeType: chlog.Breaking,
99 Component: "processor/oops",
100 Note: "Change behavior when ...",
101 Issues: []int{12350},
102 SubText: strings.Join(lines, "\n"),
103 User: "octocat",
104 }
105}
106
107func entryForChangelogs(changeType string, issue int, keys ...string) *chlog.Entry {
108 keyStr := "default"

Callers 2

getSampleEntriesFunction · 0.85
TestUpdateFunction · 0.85

Calls 1

JoinMethod · 0.65

Tested by

no test coverage detected