Skip to content
Snippets Groups Projects
Commit f8915bc4 authored by Jonas Leder's avatar Jonas Leder
Browse files

export function

parent b424a1a1
Branches
Tags
1 merge request!1WIP: write values to a database
......@@ -6,7 +6,7 @@ import (
"jonasled.dev/jonasled/ems-esp-logger/log"
)
func getOrCreateValueType(name string) tables.ValueType {
func GetOrCreateValueType(name string) tables.ValueType {
var valueType tables.ValueType
err := Db.Where("name = ?", name).First(&valueType).Error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment