internal

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package internal contains code from the Go tool's linter, "buildtag".

Copyright 2013 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

The code was adapted to match the needs and requirements of the filebuildtag linter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckGoFile

func CheckGoFile(pass *analysis.Pass, f *ast.File) []string

CheckGoFile analyses a single Go file and returns the found tags, if any. It also reports any linting error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL