override_model

package
v0.0.0-...-b4792c6 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OverrideValues map[string][]string

Functions

This section is empty.

Types

type Override

type Override struct {
	Key    string   `json:"key" binding:"required"`
	Values []string `json:"values" binding:"required"`
}

func (Override) Save

func (overrides Override) Save() string

type OverrideConfig

type OverrideConfig struct {
	gorm.Model
	Key    string   `json:"key" binding:"required" gorm:"primaryKey"`
	Values []string `json:"values" binding:"required" gorm:"type:text[]"`
}

Jump to

Keyboard shortcuts

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