Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllImportPaths ¶
Types ¶
type AddCommentsResult ¶
func AddComments ¶
func AddComments(filename string, isRuneCount bool) (out []AddCommentsResult, err error)
type AddImportResult ¶
type AddImportResult struct { // L/Rpos - position on original file // it means old import block declaration Lpos int64 `json:"l_pos"` Rpos int64 `json:"r_pos"` // Text for replace on original place with new import block Text string `json:"text"` }
AddImportResult - result of add_import command
Click to show internal directories.
Click to hide internal directories.