Add better comment

This commit is contained in:
Radek Simko 2019-08-08 13:21:04 +01:00
parent 58166ceaf5
commit 350395d804
No known key found for this signature in database
GPG Key ID: 1F1C84FE689A88D7
1 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,8 @@ type Schema struct {
// Elem represents the element type. For a TypeMap, it must be a *Schema
// with a Type of TypeString, otherwise it may be either a *Schema or a
// *Resource. If it is *Schema, the element type is just a simple value.
// If it is *Resource, the element type is a complex structure.
// If it is *Resource, the element type is a complex structure,
// potentially managed via its own CRUD actions on the API.
Elem interface{}
// The following fields are only set for a TypeList or TypeSet.