bburaksseyhan/appdoc-api

View on GitHub
src/cmd/utils/config.go

Summary

Maintainability
A
0 mins
Test Coverage
package utils

type Configuration struct {
    Database DatabaseSetting
    Server   ServerSettings
    App      Application
}

type DatabaseSetting struct {
    Url        string
    DbName     string
    Collection string
}

type ServerSettings struct {
    Port string
}

type Application struct {
    Name    string
    Timeout int
}