MCPcopy Create free account
hub / github.com/expr-lang/expr / Comment

Struct Comment

test/playground/env.go:73–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73type Comment struct {
74 ID int
75 AuthorName string
76 Content string
77 CommentDate time.Time
78 Upvotes int
79}
80
81func (c Comment) Upvoted() bool {
82 return c.Upvotes > 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected