db

package
v0.0.0-...-b5001f5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Save

func Save(b *Bookmark) (bool, error)

Types

type Bookmark

type Bookmark struct {
	Id            uint      `json:"id"`
	Url           string    `json:"url"`
	Title         string    `json:"title"`
	Description   string    `json:"description"`
	Snapshot      string    `json:"snapshot"`
	Date_added    time.Time `json:"date_added"`
	Date_modified time.Time `json:"date_modified"`
	Tags          string    `json:"tags"`
}

type Config

type Config struct {
	Id    uint   `json:"id"`
	Key   string `json:"key"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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