doc: mark MD code as golang for readability

Signed-off-by: Michael Cristina <michael.cristina@optum.com>
This commit is contained in:
Michael Cristina 2019-07-18 15:31:45 -05:00
parent 9299d14eb8
commit a83ecdc52e

View File

@ -107,7 +107,7 @@ same code base and repository.
This proposal will create the following new API types in the
`certmanager.k8s.io` group;
```
```golang
// CertificateRequestSpec defines the desired state of CertificateRequest
type CertificateRequestSpec struct {
// Requested certificate default Duration
@ -156,7 +156,7 @@ The `CertificateRequestCondition` resembles much the same of the
The `ObjectReference` field type has had a new field `Group` added as follows:
```
```golang
// ObjectReference is a reference to an object with a given name, kind and group.
type ObjectReference struct {
Name string `json:"name"`