mirror of https://github.com/databricks/cli.git
14 lines
191 B
Go
14 lines
191 B
Go
|
package config
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
type Location struct {
|
||
|
File string
|
||
|
Line int
|
||
|
Column int
|
||
|
}
|
||
|
|
||
|
func (l Location) String() string {
|
||
|
return fmt.Sprintf("%s:%d:%d", l.File, l.Line, l.Column)
|
||
|
}
|