mirror of
https://github.com/donl/gPanel.git
synced 2026-06-30 06:12:06 -06:00
add comments for New functions
This commit is contained in:
parent
03c97bfdfe
commit
12b45e7b00
2 changed files with 2 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ type PrivateHost struct {
|
|||
Directory string
|
||||
}
|
||||
|
||||
// NewPrivateHost returns a new PrivateHost type.
|
||||
func NewPrivateHost() PrivateHost {
|
||||
return PrivateHost{
|
||||
Auth: 1,
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ type PublicWeb struct {
|
|||
Directory string
|
||||
}
|
||||
|
||||
// NewPublicWeb returns a new PublicWeb type.
|
||||
func NewPublicWeb() PublicWeb {
|
||||
return PublicWeb{
|
||||
Directory: "public/",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue