/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/embedvers.go
12 строк
292 B
Russ Cox
cmd/compile: require 'go 1.16' go.mod line for //go:embed
19 янв 2021, 23:07
19 янв 2021, 23:07
0575e35
Код
Авторство
О чём код?
// errorcheck -lang=go1.15 // 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. package p import _ "embed" //go:embed x.txt // ERROR "go:embed requires go1.16 or later" var x string