reflect - The Go Programming Language

... #lowframe Documents Packages The Project Help Blog Play The Go Programming Language package main import "fmt" func main() { fmt.Println("Hello, 世界") } Run Format Share Copyright 2009 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. Note: Static (i.e., not template-generated) href and id attributes start with "pkg-" to make it impossible for them to conflict with generated attributes (some of which correspond to Go identifiers). import "reflect" Overview Index Examples The package's Name is printed as title by the top-level template Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types. The typical use is to take a value with static type interface{} and extract its dynamic type informa...

Linked on 2014-11-29 19:59:26 | Similar Links