protodetect

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package protodetect provides function to identify the go_api_flag file and message options specified in the files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFileLevel

func DefaultFileLevel(path string) gofeaturespb.GoFeatures_APILevel

DefaultFileLevel returns the default go_api_flag option for given path.

func MapGoAPIFlag

func MapGoAPIFlag(val string) (pb.GoAPI, error)

MapGoAPIFlag maps current and old values of the go API flag to current values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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