gorse: github.com/zhenghaoz/gorse/cmd Index | Files

package cmd

import "github.com/zhenghaoz/gorse/cmd"

Package cmd provides commands for gorse. They are


Package Files

doc.go dump.go main.go rest.go serve.go test.go

func Main Uses

func Main()

Main is the main entry of gorse.

type Change Uses

type Change struct {
    ItemsBefore    int // number of items before change
    ItemsAfter     int // number of items after change
    UsersBefore    int // number of users before change
    UsersAfter     int // number of user after change
    FeedbackBefore int // number of feedback before change
    FeedbackAfter  int // number of feedback after change

Change contains information of changes after insert.

type Feedback Uses

type Feedback struct {
    UserId   string  // identifier of the user
    ItemId   string  // identifier of the item
    Feedback float64 // rating, confidence or indicator

Feedback is the feedback from a user to an item.

type ItemStringTime Uses

type ItemStringTime struct {
    ItemId    string
    Timestamp string

type Status Uses

type Status struct {
    FeedbackCount int    // number of feedback
    ItemCount     int    // number of items
    UserCount     int    // number of users
    CommitCount   int    // number of committed feedback
    CommitTime    string // time for commit

Status contains information about engine.

Package cmd imports 16 packages (graph) and is imported by 2 packages. Updated 2020-03-06. Refresh now. Tools for package owners.