tests

package
v1.3.33 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoogleAuth

func GoogleAuth()

func ORMTest added in v1.3.30

func ORMTest()

func TestKarmaErrorPackage added in v1.2.24

func TestKarmaErrorPackage()

func TestKarmaFiles added in v1.3.26

func TestKarmaFiles()

Types

type Service added in v1.3.30

type Service struct {
	TableName string    `karma_table:"services"`
	ServiceId string    `json:"service_id" karma:"primary;unique"`
	Type      string    `json:"type"` //"local", "online", "offline"
	Name      string    `json:"name"`
	Icon      string    `json:"icon"`
	Banner    string    `json:"banner"`
	Category  string    `json:"category"`   // "food", "clothing", "electronics", "services", "entertainment", "education", "health", "beauty", "travel", "venues
	OfferedBy string    `json:"offered_by"` // "global", "service_provider_id"
	Timestamp time.Time `json:"timestamp"`
}

type Users added in v1.3.30

type Users struct {
	TableName string    `karma_table:"users"`
	Id        string    `json:"id"`
	Email     string    `json:"email"`
	Username  string    `json:"username"`
	Name      string    `json:"name"`
	Phone     string    `json:"phone"`
	Profile   string    `json:"profile"`
	Bio       string    `json:"bio"`
	College   string    `json:"college"`
	Year      int       `json:"year"`
	Branch    string    `json:"branch"`
	Roll      string    `json:"roll"`
	JoinedAt  time.Time `json:"joined_at"`
}

Jump to

Keyboard shortcuts

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