1Panel/backend/utils/nginx/components/comment.go
2022-12-04 18:20:57 +08:00

27 lines
354 B
Go

package components
type Comment struct {
Detail string
Line int
}
func (c *Comment) GetName() string {
return ""
}
func (c *Comment) GetParameters() []string {
return []string{}
}
func (c *Comment) GetBlock() IBlock {
return nil
}
func (c *Comment) GetComment() string {
return c.Detail
}
func (c *Comment) GetLine() int {
return c.Line
}