rating

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package rating defines constants for rating news Items.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rating

type Rating uint8

Rating identifies a rating of a news Item.

const (
	Unrated Rating = iota
	Boring
	Interesting
)

func FromString

func FromString(s string) (Rating, error)

FromString returns the Rating expressed by the given string.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址