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