83 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			XML
		
	
	
	
			
		
		
	
	
			83 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			XML
		
	
	
	
| <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 | ||
|   <channel>
 | ||
|     <title>Jenkins Operator – Developer Guide</title>
 | ||
|     <link>https://jenkinsci.github.io/kubernetes-operator/docs/developer-guide/</link>
 | ||
|     <description>Recent Hugo news from gohugo.io</description>
 | ||
|     <generator>Hugo -- gohugo.io</generator>
 | ||
|     <lastBuildDate>Mon, 05 Aug 2019 00:00:00 +0000</lastBuildDate>
 | ||
|     <image>
 | ||
|       <url>https://jenkinsci.github.io/kubernetes-operator/img/hugo.png</url>
 | ||
|       <title>GoHugo.io</title>
 | ||
|       <link>https://jenkinsci.github.io/kubernetes-operator/docs/developer-guide/</link>
 | ||
|     </image>
 | ||
|     
 | ||
| 	  <atom:link href="https://jenkinsci.github.io/kubernetes-operator/docs/developer-guide/index.xml" rel="self" type="application/rss+xml" />
 | ||
|     
 | ||
|     
 | ||
|       
 | ||
|         
 | ||
|       
 | ||
|     
 | ||
|     
 | ||
|     <item>
 | ||
|       <title>Docs: Tools</title>
 | ||
|       <link>https://jenkinsci.github.io/kubernetes-operator/docs/developer-guide/tools/</link>
 | ||
|       <pubDate>Mon, 05 Aug 2019 00:00:00 +0000</pubDate>
 | ||
|       
 | ||
|       <guid>https://jenkinsci.github.io/kubernetes-operator/docs/developer-guide/tools/</guid>
 | ||
|       <description>
 | ||
|         
 | ||
|         
 | ||
|         
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| <div class="pageinfo pageinfo-primary">
 | ||
| <p>This document explains how to install the Go tools used by the development process.</p>
 | ||
| 
 | ||
| </div>
 | ||
| 
 | ||
| 
 | ||
| <h2 id="configure-environment-variables">Configure environment variables</h2>
 | ||
| <div class="highlight"><pre style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-bash" data-lang="bash"><span style="color:#204a87">export</span> <span style="color:#000">GOPATH</span><span style="color:#ce5c00;font-weight:bold">=</span>/home/go <span style="color:#8f5902;font-style:italic"># example value</span>
 | ||
| <span style="color:#204a87">export</span> <span style="color:#000">GOROOT</span><span style="color:#ce5c00;font-weight:bold">=</span>/usr/lib/go-1.12 <span style="color:#8f5902;font-style:italic"># example value</span>
 | ||
| <span style="color:#204a87">export</span> <span style="color:#000">PATH</span><span style="color:#ce5c00;font-weight:bold">=</span><span style="color:#000">$GOPATH</span>/bin:<span style="color:#000">$PATH</span></code></pre></div>
 | ||
| <h2 id="goimports">goimports</h2>
 | ||
| 
 | ||
| <pre><code>go get golang.org/x/tools/cmd/goimports
 | ||
| cd $GOPATH/src/golang.org/x/tools/cmd/goimports
 | ||
| go build
 | ||
| go install
 | ||
| </code></pre>
 | ||
| 
 | ||
| <h2 id="golint">golint</h2>
 | ||
| 
 | ||
| <pre><code>go get -u golang.org/x/lint/golint
 | ||
| cd  $GOPATH/src/golang.org/x/lint/golint
 | ||
| go build
 | ||
| go install
 | ||
| </code></pre>
 | ||
| 
 | ||
| <h2 id="checkmake">checkmake</h2>
 | ||
| 
 | ||
| <pre><code>go get github.com/mrtazz/checkmake
 | ||
| cd $GOPATH/src/github.com/mrtazz/checkmake
 | ||
| go build
 | ||
| go install
 | ||
| </code></pre>
 | ||
| 
 | ||
| <h2 id="staticcheck">staticcheck</h2>
 | ||
| 
 | ||
| <pre><code>mkdir -p $GOPATH/src/github.com/dominikh/
 | ||
| cd $GOPATH/src/github.com/dominikh/
 | ||
| git clone https://github.com/dominikh/go-tools.git
 | ||
| cd  $GOPATH/src/github.com/dominikh/go-tools/staticcheck
 | ||
| go build
 | ||
| go install
 | ||
| </code></pre>
 | ||
| 
 | ||
|       </description>
 | ||
|     </item>
 | ||
|     
 | ||
|   </channel>
 | ||
| </rss> |