Discover Packages
github.com/cadensstudio/hermes
cmd
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jan 13, 2024
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Execute adds all child commands to the root command and sets flags appropriately.
This is called by main.main(). It only needs to happen once to the rootCmd.
create Axes struct to handle extra key for variable fonts
type Font struct {
Items []struct {
Family string `json:"family"`
Variants []string `json:"variants"`
Files map[string ]string `json:"files"`
Axes []*Axes `json:"axes,omitempty"`
} `json:"items"`
}
extract font file path url from Google Fonts API JSON response
type FontList struct {
Items []struct {
Family string `json:"family"`
} `json:"items"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.