goqlorm

command module
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2020 License: Unlicense Imports: 8 Imported by: 0

README

Go + GraphQL + Database (ORM)

GoDoc Go Report Card

GraphQL API generator + Database ORM written in Go

Note: This is BETA software and is subject to breaking changes at any time. This includes anything from simple refactors and package renames/split-ups to a complete project name change.

Creates the schema for you, sets up a GraphQL API and handles everything from getting one or many entries, creating, updating and deleting.

This makes everything really easy to use and provides a quick way to get started while still giving you control over everything.

If you want to know how to get started, take a brief look at the main.go file until the documentation is completed.

Environment variables
Variable name Description
LISTEN_ADDR Address to bind the HTTP server to. Default: :8080
DB_ADDR Database connection string. Default is provided by you (see main.go)

Documentation

Overview

Example program to demonstrate the modules

Directories

Path Synopsis
Generates a GraphQL API handler for your convenience
Generates a GraphQL API handler for your convenience
Package collections contains various functions that allow you to access slice items in a functional way
Package collections contains various functions that allow you to access slice items in a functional way
Package ctx contains a default context if no custom one is used
Package ctx contains a default context if no custom one is used
Package database is an abstraction layer for database systems
Package database is an abstraction layer for database systems
dbdefs
Package dbdefs has common definitions of types that are related to the database abstraction layer and database management
Package dbdefs has common definitions of types that are related to the database abstraction layer and database management
dbsystem
Package dbsystem revolves around database system management, abstraction and registration
Package dbsystem revolves around database system management, abstraction and registration
dbsystem/autoregister
Package autoregister is solely used to import database systems with side-effects.
Package autoregister is solely used to import database systems with side-effects.
relationtype
Package relationtype has all the relation types that can be used with this ORM
Package relationtype has all the relation types that can be used with this ORM
Where all the magic happens
Where all the magic happens
Package memdb provides an adapter for the database abstraction layer so that you can access in-memory databases
Package memdb provides an adapter for the database abstraction layer so that you can access in-memory databases
register
Package register is responsible for registering this database system
Package register is responsible for registering this database system
Package plugnplay allows easy and combined configuration of the GraphQL + ORM stack with a lot of options
Package plugnplay allows easy and combined configuration of the GraphQL + ORM stack with a lot of options
Package postgres provides an adapter for the database abstraction layer so that you can access PostgreSQL databases
Package postgres provides an adapter for the database abstraction layer so that you can access PostgreSQL databases
register
Package register is responsible for registering this database system
Package register is responsible for registering this database system
Package randutil has various utilities that make the use of randomization easier
Package randutil has various utilities that make the use of randomization easier
Package reflectutil contains various utilities that are useful when working with reflection
Package reflectutil contains various utilities that are useful when working with reflection
Package runtimeutil contains useful utilities that make use of the `runtime` package
Package runtimeutil contains useful utilities that make use of the `runtime` package
Package xstrings contains custom string utilities
Package xstrings contains custom string utilities

Jump to

Keyboard shortcuts

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