Documentation ¶
Index ¶
Constants ¶
View Source
const ( Agreement = 0 Disagreement = 1 Minimum = 2 Creator = 3 )
Variables ¶
This section is empty.
Functions ¶
func Update ¶
func Update(pos *poststorage.Object, vot *votestorage.Object) *poststorage.Object
Update is responsible for incrementing the vote summary of the provided post objects according to the values provided with the given vote objects.
func Verify ¶
func Verify(res *poststorage.Object) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.