package
Version:
v0.0.0-...-086bdb0
Opens a new window with list of versions in this module.
Published: Oct 5, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type DbConfig struct {
Db_host string `json:"db_host"`
Db_port string `json:"db_port"`
Db_user string `json:"db_user"`
Db_password string `json:"db_password"`
Db_name string `json:"db_name"`
Sslmode string `json:"sslmode"`
}
type ServiceConfig struct {
Port string `json:"port"`
}
type Url struct {
LongUrl string `json:"long_url" db:"longurl" binding:"required"`
ShortUrl string `json:"short_url" db:"shorturl"`
}
func (url *Url) GetShorturl()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.