go vareq1 源码

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

golang vareq1 代码

文件路径:/test/syntax/vareq1.go

// errorcheck

// Copyright 2010 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 main

var x map[string]string{"a":"b"}		// ERROR "unexpected { at end of statement|unexpected { after top level declaration|expected ';' or newline after top level declaration"

相关信息

go 源码目录

相关文章

go chan 源码

go chan1 源码

go composite 源码

go ddd 源码

go else 源码

go if 源码

go import 源码

go initvar 源码

go semi1 源码

go semi2 源码

0  赞