mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-15 17:29:00 +08:00
27 lines
354 B
Go
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
|
|
}
|