ProjectsV1Support provides type safety and readability around whether or not Projects v1 is supported by the targeted host. It is a sealed type to ensure that consumers must use the exported ProjectsV1Supported and ProjectsV1Unsupported variables to get an instance of the type.
| 6 | // It is a sealed type to ensure that consumers must use the exported ProjectsV1Supported and ProjectsV1Unsupported |
| 7 | // variables to get an instance of the type. |
| 8 | type ProjectsV1Support interface { |
| 9 | sealed() |
| 10 | } |
| 11 | |
| 12 | type projectsV1Supported struct{} |
| 13 |
nothing calls this directly
no outgoing calls
no test coverage detected