Skip to content

tomi77/go-pg-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-pg-django

Go Report Card GoDoc

Django models for Golang go-pg

Installation

go get -u github.com/tomi77/go-pg-django

Usage

import "github.com/tomi77/go-pg-django/auth"

type Tab struct {
  ID uint32

  AuthUserID uint32 `pg:",fk:AuthUser"`
  AuthUser   *auth.User
}