Use typed IDs instead of plain strings
This commit is contained in:
@ -7,6 +7,9 @@ import (
|
||||
"github.com/aerogo/nano"
|
||||
)
|
||||
|
||||
// ThreadID represents a thread ID.
|
||||
type ThreadID = ID
|
||||
|
||||
// Thread is a forum thread.
|
||||
type Thread struct {
|
||||
Title string `json:"title" editable:"true"`
|
||||
|
Reference in New Issue
Block a user