github.com/grailbio/bigslice@v0.0.0-20230519005545-30c4c12152ad/cmd/slicetypecheck/main.go (about)

     1  // Standalone bigslice typechecker (alpha).
     2  //
     3  // This is new and in testing. Please report any issues:
     4  // https://github.com/grailbio/bigslice/issues.
     5  //
     6  // TODO: Consider merging this into the main `bigslice` command, when it's well-tested.
     7  // TODO: Consider supporting the golangci-lint plugin interface.
     8  package main
     9  
    10  import (
    11  	"github.com/grailbio/bigslice/analysis/typecheck"
    12  	"golang.org/x/tools/go/analysis/singlechecker"
    13  )
    14  
    15  func main() {
    16  	singlechecker.Main(typecheck.Analyzer)
    17  }