repository

package
v0.0.0-...-6ce8071 Latest Latest
Warning

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

Go to latest
Published: May 10, 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 NewMysqlUserRepository

func NewMysqlUserRepository(db *gorm.DB) user.Repository

NewMysqlUserRepository 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