github.com/golangci/go-tools@v0.0.0-20190318060251-af6baa5dc196/simple/testdata/src/LimeTimeUntil_go18/LimeTimeUntil_go18.go (about)

     1  package pkg
     2  
     3  import "time"
     4  
     5  func fn(t time.Time) {
     6  	t.Sub(time.Now()) // MATCH "time.Until"
     7  	t.Sub(t)
     8  	t2 := time.Now()
     9  	t.Sub(t2)
    10  }