Documentation
¶
Overview ¶
Package snippetmetadata provides cross-language functionality for working with metadata files associated with generated sample code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoClientLibraryField is the error returned if a snippet metadata file // has no clientLibrary field at the top level. ErrNoClientLibraryField = errors.New("no clientLibrary field at the top level") )
Functions ¶
func ReformatAll ¶
ReformatAll reformats all snippet metadata files (filenames starting with "snippet_metadata" and ending with ".json") under the given directory (including subdirectories).
func UpdateAllLibraryVersions ¶
UpdateAllLibraryVersions updates the clientLibrary.version field of all snippet metadata files (filenames starting with "snippet_metadata" and ending with ".json") under the given directory (including subdirectories).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.