context

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbContext

type DbContext struct {
	// contains filtered or unexported fields
}

ApiContext The main struct

func NewDBContext

func NewDBContext(db *gorm.DB) *DbContext

NewDBContext creates a new instance of the the DB context

func (*DbContext) IHaveTodos

func (ctx *DbContext) IHaveTodos(data *messages.PickleStepArgument_PickleTable) error

IHaveTodos Setups todos on the database

func (*DbContext) InitializeScenario

func (ctx *DbContext) InitializeScenario(s *godog.ScenarioContext)

InitializeScenario

Jump to

Keyboard shortcuts

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