Go generate stuff
Make types more compatible with stringer and include generate commands
This commit is contained in:
parent
0bfbf0f672
commit
c16a4c061d
3 changed files with 7 additions and 142 deletions
|
@ -14,11 +14,11 @@ type NoteTarget uint8
|
|||
|
||||
const (
|
||||
// The note is intended for the public
|
||||
NOTE_TARGET_PUBLIC = NoteTarget(0)
|
||||
NOTE_TARGET_PUBLIC NoteTarget = 0
|
||||
// The note is intended only for the home screen
|
||||
// not really any idea what the difference is compared to public
|
||||
// Maybe home notes don't show up on the server feed but still for everyone's home feed if it reaches them via follow or boost
|
||||
NOTE_TARGET_HOME = NoteTarget(1 << iota)
|
||||
NOTE_TARGET_HOME NoteTarget = 1 << iota
|
||||
// The note is intended only for followers
|
||||
NOTE_TARGET_FOLLOWERS
|
||||
// The note is intended only for a DM to one or more targets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue