Go Structs: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Go Concepts - The Type System")
 
No edit summary
Line 2: Line 2:


* [[Go Concepts - The Type System]]
* [[Go Concepts - The Type System]]
=Overview=
<font color=red>Are all users can define (in terms of types) structs, or there are other user-defined types?</font>
=Struct Literals=
=Fields=
A field is always [[Go Concepts - Packages#Exported_Identifiers|exported]] by the package it is enclosed in.

Revision as of 17:25, 22 March 2016

Internal

Overview

Are all users can define (in terms of types) structs, or there are other user-defined types?


Struct Literals

Fields

A field is always exported by the package it is enclosed in.