Charter represents a chart value which provides its type, assets and can be validated.
| 17 | |
| 18 | // Charter represents a chart value which provides its type, assets and can be validated. |
| 19 | type Charter interface { |
| 20 | Type() string |
| 21 | GetAssets() opts.Assets |
| 22 | // FillDefaultValues fill default values and would be overridden if any struct fields has been manually set |
| 23 | FillDefaultValues() |
| 24 | // Validate a validator as well as a post processor before render |
| 25 | Validate() |
| 26 | } |
| 27 | |
| 28 | // Page represents a page chart. |
| 29 | type Page struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…