Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Remilia Scarlet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reviath
Remilia Scarlet
Commits
aeb244ca
Commit
aeb244ca
authored
May 18, 2021
by
Reviath
Browse files
Options
Downloads
Patches
Plain Diff
Added comments to config structure.
parent
ffca709f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/config.go
+3
-1
3 additions, 1 deletion
config/config.go
with
3 additions
and
1 deletion
config/config.go
+
3
−
1
View file @
aeb244ca
...
...
@@ -25,6 +25,7 @@ var (
)
type
configStruct
struct
{
// Discord stuff from remilia.conf
Discord
struct
{
Token
string
`json:"Token"`
// Token from config file
BotPrefix
string
`json:"BotPrefix"`
// BotPrefix from config file
...
...
@@ -33,13 +34,14 @@ type configStruct struct {
LoadInteractions
string
`json:"LoadInteractions"`
// LoadInteractions from config file
ClientSecret
string
`json:"ClientSecret"`
// ClientSecret from config file
}
// Database stuff from remilia.conf
Database
struct
{
DatabaseName
string
`json:"Database"`
// DatabaseName from config file
Host
string
`json:"Host"`
// Host from config file
User
string
`json:"User"`
// User from config file
Password
string
`json:"Password"`
// Password from config file
}
// Web stuff from remilia.conf
Web
struct
{
WebPort
string
`json:"WebPort"`
// WebURL from config file
BaseURL
string
`json:"BaseURL"`
// BaseURL from config file
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment