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// +build go1.12 6 7package span 8 9import ( 10 "go/token" 11) 12 13// TODO(rstambler): Delete this file when we no longer support Go 1.11. 14func lineStart(f *token.File, line int) token.Pos { 15 return f.LineStart(line) 16} 17