aceberg/ExerciseDiary

View on GitHub
internal/web/const-var.go

Summary

Maintainability
A
0 mins
Test Coverage
package web

import (
    "embed"

    "github.com/aceberg/ExerciseDiary/internal/auth"
    "github.com/aceberg/ExerciseDiary/internal/models"
)

var (
    // appConfig - config for Web Gui
    appConfig models.Conf

    // authConf - config for auth
    authConf auth.Conf

    // Exercise data
    exData models.AllExData
)

// templFS - html templates
//
//go:embed templates/*
var templFS embed.FS

// pubFS - public folder
//
//go:embed public/*
var pubFS embed.FS