repository

package
v0.0.0-...-53a7344 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCursor

func DecodeCursor(encodedTime string) (time.Time, error)

DecodeCursor will decode cursor from user for mysql

func EncodeCursor

func EncodeCursor(t time.Time) string

EncodeCursor will encode cursor from mysql to user

func NewMysqlArticleRepository

func NewMysqlArticleRepository(Conn *sql.DB) article.Repository

NewMysqlArticleRepository will create an object that represent the article.Repository interface

Types

This section is empty.

Jump to

Keyboard shortcuts

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