summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-18 20:00:19 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-18 20:00:19 +0530
commitd0d636aa89bf194185abf01e05b190386d0e8b23 (patch)
tree53f44e98b081e8fbd6823f9e7329fa3f7185ad82 /config
parent2e3c3103c48c748ccc8fa6b3607d51f112a9400f (diff)
downloadlegit-d0d636aa89bf194185abf01e05b190386d0e8b23.tar.gz
legit-d0d636aa89bf194185abf01e05b190386d0e8b23.tar.bz2
legit-d0d636aa89bf194185abf01e05b190386d0e8b23.zip
all: go-import, clone url
Diffstat (limited to '')
-rw-r--r--config.yaml4
-rw-r--r--config/config.go6
2 files changed, 10 insertions, 0 deletions
diff --git a/config.yaml b/config.yaml
index 4c47f55..820d69d 100644
--- a/config.yaml
+++ b/config.yaml
@@ -14,6 +14,10 @@ dirs:
meta:
title: git good
description: i think it's a skill issue
+misc:
+ goImport:
+ prettyURL: icyphox.sh
server:
+ fqdn: git.icyphox.sh
host: 127.0.0.1
port: 5555
diff --git a/config/config.go b/config/config.go
index 4b89dc1..b9bcbbd 100644
--- a/config/config.go
+++ b/config/config.go
@@ -21,7 +21,13 @@ type Config struct {
Title string `yaml:"title"`
Description string `yaml:"description"`
} `yaml:"meta"`
+ Misc struct {
+ GoImport struct {
+ PrettyURL string `yaml:"string"`
+ } `yaml:"goImport"`
+ } `yaml:"misc"`
Server struct {
+ FQDN string `yaml:"fqdn,omitempty"`
Host string `yaml:"host"`
Port int `yaml:"port"`
} `yaml:"server"`