<Keyword>package</Keyword><Normal Text> main</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Keyword>import</Keyword><Normal Text> </Normal Text><Symbol>(</Symbol><br/>
<Normal Text>	</Normal Text><String>"fmt"</String><Comment>//</Comment><Alert Level 2>TODO</Alert Level 2><Comment> remove after testing</Comment><br/>
<Normal Text>	</Normal Text><String>"math"</String><br/>
<Normal Text>	</Normal Text><String>"time"</String><br/>
<Symbol>)</Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>type</Keyword><Normal Text> inter </Normal Text><Keyword>interface</Keyword><Normal Text> </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>	Function</Normal Text><Symbol>(</Symbol><Data Type>int</Data Type><Symbol>)</Symbol><Normal Text> </Normal Text><Data Type>int</Data Type><br/>
<Symbol>}</Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>type</Keyword><Normal Text> myStruct </Normal Text><Keyword>struct</Keyword><Normal Text> </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>	i </Normal Text><Data Type>int</Data Type><br/>
<Normal Text>	f </Normal Text><Data Type>float64</Data Type><br/>
<Normal Text>	neighbors </Normal Text><Keyword>map</Keyword><Symbol>[</Symbol><Data Type>string</Data Type><Symbol>]*</Symbol><Data Type>uint</Data Type><br/>
<Normal Text>	comID </Normal Text><Data Type>uint</Data Type><br/>
<Symbol>}</Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>func</Keyword><Normal Text> co</Normal Text><Symbol>()</Symbol><Normal Text> </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>	fmt</Normal Text><Symbol>.</Symbol><Normal Text>Println</Normal Text><Symbol>(</Symbol><String>"Go"</String><Symbol>)</Symbol><br/>
<Symbol>}</Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>func</Keyword><Normal Text> co2</Normal Text><Symbol>(</Symbol><Normal Text>c </Normal Text><Keyword>chan</Keyword><Normal Text> </Normal Text><Data Type>float64</Data Type><Symbol>)</Symbol><Normal Text> </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>	c </Normal Text><Symbol><-</Symbol><Normal Text> </Normal Text><Decimal>13</Decimal><Symbol>.</Symbol><Decimal>37</Decimal><br/>
<Normal Text>	</Normal Text><Builtin Function>close</Builtin Function><Symbol>(</Symbol><Normal Text>c</Normal Text><Symbol>)</Symbol><br/>
<Symbol>}</Symbol><br/>
<Normal Text></Normal Text><br/>
<Keyword>func</Keyword><Normal Text> main</Normal Text><Symbol>()</Symbol><Normal Text> </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>	</Normal Text><Control Flow>defer</Control Flow><Normal Text> fmt</Normal Text><Symbol>.</Symbol><Normal Text>Println</Normal Text><Symbol>(</Symbol><String>"Hello KDE!"</String><Symbol>)</Symbol><br/>
<Normal Text>	value </Normal Text><Symbol>:=</Symbol><Normal Text> math</Normal Text><Symbol>.</Symbol><Normal Text>Log2</Normal Text><Symbol>(</Symbol><Decimal>256</Decimal><Symbol>)</Symbol><br/>
<Normal Text>	fmt</Normal Text><Symbol>.</Symbol><Normal Text>Printf</Normal Text><Symbol>(</Symbol><String>"%.1f</String><String Char>\n</String Char><String>"</String><Symbol>,</Symbol><Normal Text> value</Normal Text><Symbol>)</Symbol><br/>
<Normal Text>	</Normal Text><Keyword>var</Keyword><Normal Text> mybool </Normal Text><Data Type>bool</Data Type><br/>
<Normal Text>	mybool </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Predeclared Identifier>true</Predeclared Identifier><br/>
<Normal Text>	</Normal Text><Control Flow>if</Control Flow><Normal Text> mybool </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>		mybool </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Predeclared Identifier>false</Predeclared Identifier><br/>
<Normal Text>	</Normal Text><Symbol>}</Symbol><Normal Text> </Normal Text><Control Flow>else</Control Flow><Normal Text> </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>		</Normal Text><Builtin Function>panic</Builtin Function><Symbol>(</Symbol><String>"No!"</String><Symbol>)</Symbol><Comment>//</Comment><Alert Level 3>NOTICE</Alert Level 3><br/>
<Normal Text>	</Normal Text><Symbol>}</Symbol><br/>
<Normal Text>	</Normal Text><Control Flow>go</Control Flow><Normal Text> co</Normal Text><Symbol>()</Symbol><br/>
<Normal Text>	m</Normal Text><Symbol>:=</Symbol><Normal Text> </Normal Text><Builtin Function>make</Builtin Function><Symbol>(</Symbol><Keyword>map</Keyword><Symbol>[</Symbol><Data Type>string</Data Type><Symbol>]</Symbol><Data Type>string</Data Type><Symbol>)</Symbol><br/>
<Normal Text>	m</Normal Text><Symbol>[</Symbol><String>"1"</String><Symbol>]</Symbol><Normal Text> </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><String>"2"</String><Comment>/*Multi</Comment><br/>
<Comment>	liner*/</Comment><br/>
<Normal Text>	</Normal Text><Control Flow>for</Control Flow><Normal Text> k</Normal Text><Symbol>,</Symbol><Normal Text> v </Normal Text><Symbol>:=</Symbol><Normal Text> </Normal Text><Keyword>range</Keyword><Normal Text> m </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>		m</Normal Text><Symbol>[</Symbol><Normal Text>v</Normal Text><Symbol>]</Symbol><Normal Text> </Normal Text><Symbol>=</Symbol><Normal Text> k</Normal Text><br/>
<Normal Text>	</Normal Text><Symbol>}</Symbol><br/>
<Normal Text>	</Normal Text><Control Flow>switch</Control Flow><Normal Text> m</Normal Text><Symbol>[</Symbol><String>"2"</String><Symbol>]</Symbol><Normal Text> </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>		</Normal Text><Control Flow>case</Control Flow><Normal Text> </Normal Text><String>"1"</String><Symbol>:</Symbol><br/>
<Normal Text>			mybool </Normal Text><Symbol>=</Symbol><Normal Text> </Normal Text><Predeclared Identifier>true</Predeclared Identifier><br/>
<Normal Text>		</Normal Text><Control Flow>default</Control Flow><Symbol>:</Symbol><br/>
<Normal Text>			</Normal Text><Control Flow>return</Control Flow><br/>
<Normal Text>	</Normal Text><Symbol>}</Symbol><br/>
<Normal Text>	ch </Normal Text><Symbol>:=</Symbol><Normal Text> </Normal Text><Builtin Function>make</Builtin Function><Symbol>(</Symbol><Keyword>chan</Keyword><Normal Text> </Normal Text><Data Type>float64</Data Type><Symbol>)</Symbol><br/>
<Normal Text>	</Normal Text><Control Flow>go</Control Flow><Normal Text> co2</Normal Text><Symbol>(</Symbol><Normal Text>ch</Normal Text><Symbol>)</Symbol><br/>
<Normal Text>	time</Normal Text><Symbol>.</Symbol><Normal Text>Sleep</Normal Text><Symbol>(</Symbol><Decimal>100</Decimal><Symbol>*</Symbol><Normal Text>time</Normal Text><Symbol>.</Symbol><Normal Text>Millisecond</Normal Text><Symbol>)</Symbol><br/>
<Normal Text>	</Normal Text><Control Flow>select</Control Flow><Normal Text> </Normal Text><Symbol>{</Symbol><br/>
<Normal Text>		</Normal Text><Control Flow>case</Control Flow><Normal Text> </Normal Text><Symbol><-</Symbol><Normal Text>ch</Normal Text><Symbol>:</Symbol><br/>
<Normal Text>			fmt</Normal Text><Symbol>.</Symbol><Normal Text>Println</Normal Text><Symbol>(</Symbol><String>"DONE"</String><Symbol>)</Symbol><br/>
<Normal Text>		</Normal Text><Control Flow>default</Control Flow><Symbol>:</Symbol><br/>
<Normal Text>			</Normal Text><Control Flow>return</Control Flow><br/>
<Normal Text>	</Normal Text><Symbol>}</Symbol><br/>
<Symbol>}</Symbol><br/>
