ReleaseFlagService

package
v0.0.0-...-75e4868 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InsertReleaseFlagSql = `
INSERT INTO release_flag(id,label)
VALUES ( UNHEX(REPLACE( ?,'-','' )), ?);
`

Functions

This section is empty.

Types

type Bundlable

type Bundlable struct{}

Bundlable adheres to Services.IBundlable and allows the service to be bundled

func (Bundlable) Create

func (h Bundlable) Create(appCtx AppContext.Context) interface{}

Create is a copy-pasta property

func (Bundlable) Name

func (h Bundlable) Name() string

Name Return the name of the service as it is defined in Services.Bundle

type IReleaseFlagSvc

type IReleaseFlagSvc interface {
	InsertReleaseFlag(label string) (string, error)
}

type ReleaseFlagSvc

type ReleaseFlagSvc struct {
	AppCtx AppContext.Context
}

ReleaseFlagSvc adheres to IReleaseFlagSvc

func (*ReleaseFlagSvc) InsertReleaseFlag

func (h *ReleaseFlagSvc) InsertReleaseFlag(label string) (string, error)

Jump to

Keyboard shortcuts

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