You must change directory to the directory where GoCV has been installed, then you can run the code.
chdir %GOPATH%\src\gocv.io\x\gocv
go run cmd\hello\main.go
| AWSTemplateFormatVersion: '2010-09-09' | |
| Metadata: {} | |
| Parameters: | |
| ########### | |
| KeyName: | |
| Description: The EC2 Key Pair to allow SSH access to the instance | |
| Type: 'AWS::EC2::KeyPair::KeyName' | |
| AvailabilityZone: | |
| Description: Availability zone to deploy |
| #!/bin/bash | |
| # author: Yoram van de Velde ( [email protected] ) | |
| # Examples of why pipefail is really important to use. | |
| # We enable exit on error functionality | |
| set -o errexit | |
| # These commands will fail but not stop the script because of the pipes | |
| # to succesfull commands. This works because error is output to stderr, |
| import com.cloudbees.plugins.credentials.* | |
| import com.cloudbees.plugins.credentials.common.* | |
| import com.cloudbees.plugins.credentials.domains.* | |
| import com.cloudbees.plugins.credentials.impl.* | |
| import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
| import org.jenkinsci.plugins.plaincredentials.impl.* | |
| // def item = Jenkins.instance.getItem("your-folder") |