use helper function
Ted Unangst tedu@tedunangst.com
Sun, 18 Jun 2023 21:47:26 -0400
1 files changed,
1 insertions(+),
3 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -1627,10 +1627,8 @@ user, err := butwhatabout(name)
if err != nil { return nil, false } - var buf bytes.Buffer j := junkuser(user) - j.Write(&buf) - return buf.Bytes(), true + return buf.ToBytes(), true }, Duration: 1 * time.Minute}) func asjonker(name string) ([]byte, bool) {