diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-09-13 12:56:08 +0200 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-09-13 12:56:08 +0200 |
commit | 4f01edb9230f58ff84b0dd892c931ec8ac9aad55 (patch) | |
tree | 9c1598a3f98203913ac2548883c02a81deb33dc7 /src/cfg/mediocre_blog.go | |
parent | 5485984e05aebde22819adebfbd5ad51475a6c21 (diff) |
move src out of srv, clean up default.nix and Makefile
Diffstat (limited to 'src/cfg/mediocre_blog.go')
-rw-r--r-- | src/cfg/mediocre_blog.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cfg/mediocre_blog.go b/src/cfg/mediocre_blog.go new file mode 100644 index 0000000..98fe08c --- /dev/null +++ b/src/cfg/mediocre_blog.go @@ -0,0 +1,9 @@ +package cfg + +// this file contains functionality specific to the mediocre blog. + +// NewBlogCfg returns a Cfg specifically configured for mediocre blog processes. +func NewBlogCfg(params Params) *Cfg { + params.EnvPrefix = "MEDIOCRE_BLOG" + return New(params) +} |