notification

package
v0.0.0-...-92f7cd3 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notification

type Notification struct {
	EventID uint      `json:"eventId"`
	UserID  uint      `json:"userId"`
	Title   string    `json:"title"`
	Time    time.Time `sql:"index"`
}

Notification value object

func New

func New() *Notification

New func is a constructor

func (Notification) String

func (e Notification) String() string

String func is a func for the Stringer interface

Jump to

Keyboard shortcuts

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