.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.1.1-0.20210319172145-bda8f5cee399 / internal / span / token112.go
1 // Copyright 2019 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 //go:build go1.12
6 // +build go1.12
7
8 package span
9
10 import (
11         "go/token"
12 )
13
14 // TODO(rstambler): Delete this file when we no longer support Go 1.11.
15 func lineStart(f *token.File, line int) token.Pos {
16         return f.LineStart(line)
17 }