repository

package
v0.0.0-...-572b5b8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPage

func AddPage(newPage model.Page) error

AddPage saved bookrmark user input.

func CreatePageTable

func CreatePageTable()

CreatePageTable create page table on sqlite3 db

func GetPages

func GetPages() ([]model.Page, error)

GetPages returns all page entities user saved.

func GetPagesByContentSearch

func GetPagesByContentSearch(word string) ([]model.Page, error)

GetPagesByContentSearch returns page entities grepped by html-content-search.

func GetPagesByTag

func GetPagesByTag(tag string) ([]model.Page, error)

GetPagesByTag returns page entities grepped by input tag word.

func GetPagesByTitleWordGrep

func GetPagesByTitleWordGrep(word string) ([]model.Page, error)

GetPagesByTitleWordGrep retunrs page grepped title by input word.

func RemovePage

func RemovePage(id string) error

RemovePage remove bookmark

Types

This section is empty.

Jump to

Keyboard shortcuts

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