go enabled_go118 源码

  • 2022-07-15
  • 浏览 (871)

golang enabled_go118 代码

文件路径:/src/cmd/vendor/golang.org/x/tools/internal/typeparams/enabled_go118.go

// Copyright 2021 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.

//go:build go1.18
// +build go1.18

package typeparams

// Note: this constant is in a separate file as this is the only acceptable
// diff between the <1.18 API of this package and the 1.18 API.

// Enabled reports whether type parameters are enabled in the current build
// environment.
const Enabled = true

相关信息

go 源码目录

相关文章

go common 源码

go enabled_go117 源码

go normalize 源码

go termlist 源码

go typeparams_go117 源码

go typeparams_go118 源码

go typeterm 源码

0  赞