Created
June 19, 2019 14:26
-
-
Save Jmainguy/57d76a11cdbcfb6fc0d32906149b329d to your computer and use it in GitHub Desktop.
Figure out a type in golang
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func parseStuff (stuff string) () { | |
| fmt.Println(stuff) | |
| } | |
| parseStuff(pvc) | |
| outputs | |
| ./main.go:68:15: cannot use pvc (type *"k8s.io/api/core/v1".PersistentVolumeClaim) as type string in argument to parseStuff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment