锘??xml version="1.0" encoding="utf-8" standalone="yes"?>C++鍗氬-鎴橀瓊灏忕瓚http://www.9087120.com/sunicdavy/璁?#29825;?#32519;?309800774 鐭箮鍏虫敞:http://zhihu.com/people/sunicdavy 寮婧愰鐩?https://github.com/davyxuzh-cnTue, 26 Mar 2019 15:23:34 GMTTue, 26 Mar 2019 15:23:34 GMT60Entity-Component-System妗嗘灦蹇冨緱http://www.9087120.com/sunicdavy/archive/2018/11/30/216103.html鎴橀瓊灏忕瓚鎴橀瓊灏忕瓚Fri, 30 Nov 2018 10:01:00 GMThttp://www.9087120.com/sunicdavy/archive/2018/11/30/216103.htmlhttp://www.9087120.com/sunicdavy/comments/216103.htmlhttp://www.9087120.com/sunicdavy/archive/2018/11/30/216103.html#Feedback0http://www.9087120.com/sunicdavy/comments/commentRss/216103.htmlhttp://www.9087120.com/sunicdavy/services/trackbacks/216103.html杩戞湡鍦父鎴廳emo涓瘯楠孍CS锛?娣?#37711;?#37934;旂Unity瀹樻柟鐨凟CS妗嗘灦鍜岀涓夋柟Entitas妗嗘灦锛?鍒嗕韩涓嬩娇鐢ECS鐨?#36423;冨緱銆?/p>


Unity鍦?018鐗?#28051;?#37716;?#37711;?#27996;咵CS绯荤粺锛?浣嗗浜?#28751;忕?#20171;紶闃舵銆傞粯璁?#28051;?#37828;疷nity鐨?#28051;閮?#37714;?#38171;?闇瑕佹墜鍔?#28051;?#26462;戒唬鐮佸苟瀵?#37711;Packages锛堟柊鐗规?#38171;?#37510;?#28729;樻柟?#24385;渚涙捣璞?#28186;?#28699;?#38171;?浣嗛櫎姝箣澶?#28186;?#28699;?#37724;?#29863;?#37826;?#38344;炲父灏?#37510;傛墍浠?#28729;?#37711;棤娉?#38171;?#28052;?#28051;?#37825;?#37734;demo涓锤鐒?#23534;?#37711;?#26473;?#32457;?#32495;荤粺锛屾墍浠斁寮冨?#27195;柟ECS绯荤粺銆?/p>


绗?#28051;夋柟鐨凟ntitas锛?span style="border-bottom: 1px dashed gray;">https://github.com/sschmid/Entitas-CSharp锛塃CS妗嗘灦浠?015骞?#28751;?#23534;濮?#37734;?#37722;?#37734;?#23125;?#29825;?#28051;?#28000;?#32513;?#37510;傛暣浣?#22935;嗘灦?#29056;浜庝唬鐮?#37922;?#37812;?#38171;?鑳借鍐?#28051;閮?#37714;?#37928;勪唬鐮佺垎鐐搁棶棰?#38171;?鑰?#28051;?#37804;?#38003;戒篃瑕佸涓浜?#37510;?#28186;?#28699;?#38171;?#28000;?#32513;?#38344;炲父涓?#28725;?#38171;?#28186;?#28699;愯櫧鐒跺熀浜?#28051;?#37722;岀?#22559;湰鐨凟ntitas锛岀?#35268;敮鎸?#37724;?#37832;?#26570;鐗?#23480;?#28051;?#28598;?#28598;?#38171;?鍙?#37828;?#37712;?#23049;?#37832;?#32513;?#23536;?#23480;?#23534;?#38171;?瀵?#27996;?#37918;嗚鏉?#29831;存棤?#37510;?/p>


缁?#26473;?~2澶?#37928;勬?#24402;?#38171;?缁堜簬灏哾emo浠庝紶?#31930;Unity鍐?#23049;?#37824;归?#28051;ECS鏍囧?#21975;啓娉?#38171;屾柊澧?#27996;?6涓?#37826;?#28000;?#38171;?鑰屼紶?#31930;閫昏緫涓鍏卞彧鏈?6涓?#37826;?#28000;?#38171;?#28598;?#22994;?#28725;规瘮涓婨CS鐨?#37911;圭偣鍜?#23480;?#23534;?#37510;?/p>


Entitas鐨凟CS绯荤粺

1. 鏈?#37833;?#37734;?#28051;涓?#28725;?#29854;?#28051;?#23075;?#37716;?#28051;涓被瀛楁鐨?#26473;?#32459;?#38171;孍CS闇瑕?#23075;?#37716;?#28051;涓被?#21804;琛Component锛屽苟涓斾唬鐮?#37922;?#37812;?#37510;?/p>

杩?#28051;?#28699;楁涓鑸?#37922;?#27996;庢弿杩?#28725;?#29854;?#37928;?#29863;?#23143;?#38171;?#28598;?#37918;嗘樉绀?#37928;凣ameObject锛?琛?#32448;?#28725;?#29854;?#37928;勭?#35826;?#23340;瓑銆?/p>


2. 鏈?#37833;?#28051;涓?#28725;?#29854;?#37928;?#28051;氬姟閫昏緫澶?#37918;?#26473;?#32459;?#37929;存帴鐢柟娉曡鍐?#37928;?#38171;?ECS闇瑕佹柊鍔?#28051;涓猄ystem锛?#38000;屾搷浣?#28725;?#29854;?#38343;瑕佷娇鐢Filter鎴朑roup鏌?#29831;?#38014;峰緱銆?/p>


3. 涓绯?#37714;?#37928;勬搷浣?#38171;?闇瑕佹媶鍒?#28051;?#28598;?#28051;猄ystem鍜孋omponent?#23222;鍒嗗鐞?#37510;傚?#20635;?#28138;ystem椤哄簭涓?#28725;?#38171;?浼?#38315;?#37812;?#28051;浜涜寮?#37928;刡ug銆?/p>


4. Component涓?#28000;?#28000;?#37828;疢odel鎵?#26462;?#28003;?#38171;?涔?#37721;?#28000;?#37828;?#37721;傛暟鐨勬暟鎹?#32513;撴瀯銆傚?#20635;暟Component閫?#26473;Entity?#32054;閫?#37714;癝ystem澶?#37918;?#37510;?渚嬪锛?閫?#26473;ECS鍒涘缓涓涓柟鍧?#37928;?#26473;?#32459;?#38171;屼娇鐢CreateTileComponent锛屽寘鍚?#37714;涘缓Tile鐨?#28003;嶇疆锛?鍒涘缓Entity?#33503;娣?#37716;燙reateTileComponent锛?鍦CreateTileSystem涓?#28598;?#37918;?#28751;卞?#28056;缓浜員ile锛?#28598;?#37918;?#28729;?#37812;?#37827;?#38171;?闇瑕?#28751;嗕紶鍏?#37928;凟ntity.Destroy鎺?#37510;?/p>


6. Entity涓婁慨鏀笴omponent鐨?#26473;?#32459;?#38171;?浼氳鍙?#27996;嬩欢銆備慨鏀?#37928;?#26473;?#32459;?#38343;瑕佷娇鐢RelaceXXX锛孹XX琛?#32448;?#32513;勪?#36346;悕銆?#32513;勪?#36346;彲浠?#26864;?#32507;佷慨鏀?#38171;?涓?#37922;?#37815;?#36423;?#23075;?#37716;?#37724;?#37714;犻櫎缁勪欢杩?#32459;?#37928;勬?#38003;?#38171;?Entitas搴曞?#20634;鐞嗘?#38003;?#37721;?#37929;?#35120;?#27996;?#37816;囬拡璧嬪?#37928;勬?#38003;?#37510;?/p>


ECS鍍?#28000;涔?#38171;?/span>

1. ECS涓?#37928;凷ystem?#34987;浼?#29785;?#37721;?#37731;?#32495;荤粺锛Event-Condition-Action锛?#38171;?#37711;?#28051;?#38171;孍vent瀵瑰簲Entitas鐨凣etTrigger+Collector锛?#29723;?#32448;?#29785;?#37721;?#27996;嬩欢銆侰ondition瀵瑰簲Filter琛?#32448;?#37734;?#27996;嬩?#33333;潵婧?#28725;?#29854;?#28051;?#37813;?#37714;?#38343;瑕?#37928;勫璞?#37510;?Action瀵瑰簲Execute锛?#29723;?#32448;?#28729;?#38340;?#37928;勬搷浣?#37510;?/p>

2. ECS涓?#37928;凜omponent?#34987;浼?#28051;?#37922;lua鎵睍鐨凴edis鎴?#38000;?#28051;?#37922;?#28699;?#37708;?#26473;?#32459;?#37928;MySQL锛?绾?#22317;函鏁?#37817;?#38171;?鑰?#28051;?#38003;?#28725;规暟鎹?#37832;?#28000;?#28003;?#28751;?#29761;呮搷浣?#37510;傛病鏈塴ua鍜?#28699;?#37708;?#26473;?#32459;嬫敮鎸?#37928;刣b鍐欒捣鏉?#26473;樻槸姣旇?#20909;垂鍔?#37928;?#38171;?#28003;咵CS灏?#37828;?#38317;?#28052;?#37928;勭函銆?/p>


3. ECS涓?#37928;凟ntity寰?#28751;?#28751;?#38171;屽洜涓Component鏄?#37816;夌被鍒?#26473;?#32513;?#28699;?#37708;?#37928;勪互淇濊?#20345;?#38003;?#37510;?閫昏緫鍙?#38343;瑕丒ntity缁勫悎鎴愰昏緫闇瑕?#37928;勫鍚?#28725;?#29854;?#37510;?涓?#26440;?#38318;?#29781;佺収椤?#38171;屾墍浠?#26473;?#32457;?#29825;?#29825;?#28751;?#29825;唬鐮侀噺宸?#28583;?#38171;?#37721;?#29831;?#37804;?#28051;?#38340;?#37510;?/p>



ECS浼佸浘鐢?#28051;濂?#22935;嗘灦?#20227;鎺?#29825;?#29825;?#22959;?#23534;?/span>

1. 鍗?#28000;?#38171;圫ingleton锛?#37734;Entitas鐢Unique鏍囩鏍?#29825;癈omponent锛?鍦Context涓?#28751;?#37828;敮涓鐨?#38171;?鍏?#28729;?#28052;?#28751;?#37828;疭ingleton銆?/p>


2. ECS骞?#37818;?#27996;嗕紶?#31930;鐨勫伐鍘傛寮?#38171;屽?#26334;?#20636;粺涓瀵?#28725;?#29854;?#38171;Entity锛?#37724;屽鎬?#38171;Component锛夌粺涓绠?#37918;?#37510;傞渶瑕佹寜Component涓?#37928;勫?#37813;惧?#28651;ntity鏃?#38171;?鍙?#28000;娇鐢EntityIndex銆?/p>


3. Entity鎼哄甫涓?#37722;?#37928;?#32513;勪?#33333;椂锛?#37825;?#28051;?#37714;涘缓鍜?#38335;?#30217;杩?#32459;嬭璁板綍骞舵仮澶?#38171;?#37711;?#28729;?#28751;?#37828;Command妯?#23534;?/p>


ECS閫傚?#22557;?#27470;I妗嗘灦锛堢被浼糓VVM锛孧VC,MVP锛?#28052;?#38171;?/span>

ECS涓?#37828;?#28051;?#37922;?#37928;刄I妗嗘灦锛?#28003;嗘槸鍙?#28000;?#28725;?#28051;?#37722;岀?#33636;粺鍜?#37825;?#37817;棿瑙?#38000;?#37510;備紶?#31930;?#21804;鐮?#28051;?#37825;?#37817;慨鏀?#37722;?#37928;凜allback锛孍CS涔?#37721;?#28000;?#37922;Listener鍋?#38171;?浣哃istener鍥?#28051;?#38003;戒繚瀛樻暟鎹?#38171;?灏?#38343;瑕?#37922;Component淇?#28699;?#37510;??#22669;浠?#28003;?#38343;瑕?#38344;?#28725;?#37928;?#37828;?#38171;?#28051;涓狟utton锛屽搷搴?#37714;涘缓涓涓?#37721;傛暟鐢?#37928;凜omponent鍜孲ystem锛?#26473;?#29781;?#28051;?#37825;?#37817;?#37824;?#37721;?#37712;?#28051;濂桳istenComponent鍜孡istener澶?#37918;?#37928;凷ystem锛岄吀鐖?#37722;?#38171;?/p>


Minecraft閫傚悎ECS鏉?#37707;氫箞锛?/span>

鍙?#28000;?#38171;?#37804;?#38003;?#25652;旇鑳芥彁鍗?#28051;?#28751;?#38171;?#28003;嗘槸?#21804;鐮佷?#27693;洿绻佺悙锛岀壒鍒?#37709;Java杩?#32457;嶅?#26495;棪璇?#29815;閰?#28051;ECS杩?#32457;嶅?#26495;棪妗嗘灦锛屼及璁唬鐮侀?#24533;?#33636;炕杩樻槸寰?#26462;?#37833;?#37928;?#37510;侻C灞?#27996;?#37911;规畩绫诲瀷鐨勬父鎴?#38171;?#38315;傚悎鐗规畩棰嗗煙鐗?#37714;?#28028;樺寲锛?#28052;?#28751;?#37828;?#28051;撻棬涓烘柟鍧?#37707;氬嚭鐗?#37714;?#37928;?#29825;?#29825;?#37833;?#37707;氫?#27194;寲銆侲CS灞?#27996;?#38315;?#37922;?#22935;嗘灦锛?#37719;?#28186;?#37804;?#38003;OK锛?#28003;嗘槸?#21804;鐮佹湭蹇?#38003;?#37832;夎壇濂?#37928;勫彲璇?#37804;?#37510;?/p>


浣撻噺灏忕?#21228;父鎴?#38315;傚悎鐢ECS鏉?#37707;氫箞锛?/span>

鍙?#28000;?#38171;?#28003;?#28051;嶅缓璁?#37510;?#37911;?#37714;?#37828;?#37721;?#37832;夊涓?#27996;?#32513;存姢鐨勫伐绋?#38171;岃锤鐒?#28051;ECS绯荤粺锛屼細璁?#32495;荤粺鍙?#37928;勬瀬涓?#28598;?#37833;?#37510;傚綋鐒?#28003;犱?#27699;锛屽?#20635;灉寮鍙?#37714;?#37722;庢湡锛屼紶?#31930;寮鍙戞寮?#28028;氬?#33392;嚧?#21804;鐮佷?#27691;贡锛孍CS浼氬浜?#37722;?#37510;傛?#23678;ECS涔?#28051;?#37828;?#28051;澶?#28051;?#28598;?#37928;?#27996;嬫儏锛?#28051;嶇?#29112;?#22595;CS鐨勭?#23338;簭?#25011;璁?#29825;?#37713;?#37833;?#37928;?#32495;荤粺鑾峰緱鐨勪紭鍔?#37721;?#38003;?#26473;?#28051;嶅鐢紶?#31930;璁?#29825;柟娉?#28610;藉憿銆?/p>

?#28774;鏋勮鍐?#37928;?#37828;?#27996;?#37928;勯棶棰?#38171;?浜?#38318;?#37832;夐棶棰?#38171;岀敤浠涔?#22935;嗘灦閮芥病鍔?#23049;?#37510;?/p>


鍒板簳浠涔?#26916;?#37929;?#38315;傚悎鐢ECS锛?/span>

1. 澶?#38322;忕殑灏?#28051;?#28003;?#28051;?#37826;?#37928;?#37922;?#37812;?#37724;?#38335;?#30217;浠?#37721;?#37828;?#32448;?#38171;?#28186;嬪锛?鏀诲煄鎴?#28051;?#38171;?#29781;?#28003;撶?#29256;涓?#29785;掕壊鐨?#32457;?#37716;?#38171;?#37812;樻?#26940;?/p>

2. 澶?#27996;?涓?#27996;虹紪鍐欐蹇?#37812;樻枟閫昏緫銆?#27996;?#37929;?#37719;?#28003;?#37724;屾鍧?#37714;?#37714;?#38171;?#38343;瑕?#28051;涓?#28598;?#28729;?#38318;?#38003;戒俊鏈?#37928;?#22935;嗘灦锛孍CS鍙?#28000;?#38315;夋嫨銆?/p>


P.S.

涓?#29781;?#38315;燛CS鐨?#26462;?#28699;?#38171;?/span>

寰?#28598;氬悓瀛?#37930;嬩?#21685;CS?#29056;鏈?#37720;?#37918;?#38171;?#37734;病鏈?#23075;?#37711;娇鐢?#26473;?#28000;?#28003;旹CS绯荤粺鏃堕涓婃搷鍒閫?#26462;?#28699;?#37510;侲CS绯荤粺纭?#28729;炵?#23341;捣鏉?#32480;鍗?#37510;?#28729;?#38340;?#38315;?#28051;?#37833;?#28003;犱?#27692;彂?#24135;锛?#37804;?#38003;介?#28850;父绯?#32495;?#28000;?#37721;?#28051;?#37933;?#38316;?#28051;浜?#38315;昏緫濡?#28003;?#37922;ECS鏉?#29785;?#37712;?#37510;?/p>


鎬荤粨锛?/span>

1. ECS纭?#28729;?#28051;?#37804;?#38003;借岀敓锛屾病鏈夊苟鍙?#37716;?#37816;佹?#38003;?#37928;凟CS閮?#37828;?#38000;嶆?#20345;锛?#29781;?#36423;?#28751;?#29781;?#36423;?#37714;?#37835;佽嚧銆?/p>

2. Unity涓?#38171;孍CS?#33503;鍙?#38003;?#37813;睍CPU鐨?#37714;?#37922;?#37916;?#38171;?#28003;嗘槸GPU鐨勬?#38003;戒緷鐒?#26473;樻槸DrawCall浼樺寲閭?#28051;濂?#38171;?#37714;湡鏈汦CS浼?#26864;?#29781;哢nity锛?#37804;?#38003;戒篃涓?#28028;氬揩鍒伴?#25443;锛?#37711;?#38335;?#26473;樻槸瑕佺湅鍏?#28003;?#37928;?#26916;?#37929;?#37724;?#27996;?#37510;?/p>

3. ECS鏄?#28051;?#38003;?#22935;嗘灦锛?#28003;?#28051;?#37711;?#38003;?#37510;備紶?#31930;?#28774;鏋?#37724;?#29825;?#29825;?#37804;濇兂涔?#28051;?#37828;?#28051;?#26852;鏄?#28598;?#38171;岀?#29111;暐鐢?#37727;?#38171;?#37804;?#28052;?#36423;?#37804;?#28052;堟潵锛?br />

?#26852;鑰?#37928;勫?#22446;憡閾炬帴锛岃鍚?#28003;嶆敮鎸?/p>

銆奊o璇?#29815;浠?#37711;棬鍒?#26473;?#38339;?#28729;?#37812;?#38171;?#29785;嗛?#25118;暀瀛?#37911;?#38171;?#37510;?寰?#23049;?銆愭憳瑕?涔?#29831;??#30255;璇?#37510;? 浜?#28051;滃浘涔?/a>



鎴橀瓊灏忕瓚 2018-11-30 18:01 鍙?#29723;?#29831;?#29825;?/a>
]]>
?#29238;鎴?#28051;嶹eb鐨勬湇鍔?#37731;?#28725;规瘮http://www.9087120.com/sunicdavy/archive/2018/08/29/215887.html鎴橀瓊灏忕瓚鎴橀瓊灏忕瓚Wed, 29 Aug 2018 03:16:00 GMThttp://www.9087120.com/sunicdavy/archive/2018/08/29/215887.htmlhttp://www.9087120.com/sunicdavy/comments/215887.htmlhttp://www.9087120.com/sunicdavy/archive/2018/08/29/215887.html#Feedback0http://www.9087120.com/sunicdavy/comments/commentRss/215887.htmlhttp://www.9087120.com/sunicdavy/services/trackbacks/215887.html涓?#27996;?#32514;?#37712;欏熀浜?/span>cellnet鐨勬柊涓?#21804;?#29238;鎴?#37832;?#37716;?#37731;?#22935;嗘灦锛?#37832;杩戞繁鍏?#37934;旂寰?#37832;?#37716;?#38171;孲erviceMesh绛夋蹇?#37510;?#37934;旂杩?#32459;?#28051;?#28725;筗eb鍜屾父鎴?#28051;?#32457;?#37832;?#37716;?#37731;灦鏋?#29825;?#29825;?#37832;?#28051;浜?#36423;冨緱锛岀紪鍐欏苟璁板綍涓?#37833;?#37510;?涓?#37826;?#28051;?#38171;孏ame琛?#32448;烘父鎴?#37832;?#37716;?#37731;?#38171;學eb琛?#32448;Web鏈?#37716;?#37731;? ``
鐘舵佺紦瀛?/span>
?#22669;璋撶?#33333;佺紦瀛?#38171;?#28751;?#37828;?#37734;?#37712;?#28699;?#38000;?#38344;?#28051;?#28051;?#37825;?#37817;?#32514;?#28699;樻湇鍔?#37731;?#38171;堝?#20477;edis锛?#28051;?#28103;?#28699;?#37724;?#28598;?#37918;嗛昏?#25118;暟鎹?#38171;屾墜鍔?#32514;?#37712;?#23005;?#26473;?#32459;?#26440;?#28051;虹?#20346;悙浣嗘槸鏁堢巼杈冮珮锛?#28003;嗛?#24533;潃鐘舵?#38315;昏緫澶?#37833;傛?#37724;屽苟鍙?#37510;佹墿瀹归棶棰樻彁鍑?#38171;岀?#33333;佸悓姝?#28028;氬?#27194;緱瓒?#37833;?#29906;?#28598;?#37833;?#37510;?/span>
Game:
寮?#27996;?#27996;?#37804;?#37928;勬湇鍔?#37731;?#32491;诲瀷闇瑕?#37734;?#37832;?#37716;?#37731;?#37707;氱紦瀛?#38171;?#38315;昏緫缂?#37712;?#28052;熻緝涓?#28729;?#37828;?#38171;屾棤闇澶?#37918;嗕簨鍔苟鍙戦棶棰?#37510;?#28186;嬪锛?#32513;?#38339;?#38171;屽?#24402;厤锛?#37812;樻枟閫昏緫銆傛湇鍔?#37731;?#28051;?#38003;介?#24532;剰閲?#37722;?#37510;?/span>
寮?#27996;?#27996;?#37804;?#37928;勬湇鍔?#37731;?#32491;诲?#23338;彲閰?#37722;redis鍋?#37812;愭棤鐘舵佹湇鍔?#37731;?#38171;?#28186;嬪锛氬鎴?#38171;屾妧鑳?#37719;囩骇锛?#26864;嗗彇鐗?#20346;瓑銆傛湇鍔?#37731;?#38341;?#37827;舵敮鎸侀噸鍚?#37510;?/span>
?#29238;鎴?#37832;?#37716;?#37731;?#28051;?#27996;嗘?#24880;?#27195;?#38003;?#38171;?#37827;湡?#22669;鏈夋湇鍔?#37731;?#38318;?#37828;娇鐢?#37912;舵佺紦瀛?#37712;?#23049;?#32514;?#37712;?#38171;岀壒鍒?#37828;疢MORPG杩欑被寮?#27996;?#27996;?#37928;勬父鎴?#37832;?#37716;?#37731;?#28751;?#28051;?#28051;?#38322;?#37510;?/span>
Web:
鍧?#28051;烘棤鐘舵佹湇鍔?#37731;?#38171;?#23534;?#27996;?#27996;?#37510;備娇鐢?#27996;?#37716;柟寮?#28598;?#37918;嗗苟鍙?#38315;昏緫锛?#28186;嬪锛?#27996;?#37828;?#38171;?#28051;?#37719;曠瓑銆?/span>
鎺?#38315;?#38171;?#37719;曠嫭鍙?#38315;?/span>
杩?#38322;屾彁鍒?#37928;勬墍璋撴帹閫?#38171;?#37719;曠嫭鍙?#38315;?#37828;?#28051;嶳PC鍖?#37714;?#37928;?#38315;?#29825;柟娉?#37510;俁PC瑕佹眰璇锋眰蹇?#26916;?#37832;?#37733;炲簲銆?#38000;屾帹閫?#37719;曠嫭鍙?#38315;?#37714;欐?#26449;儚鏄?#38315;?#37933;?#37724;?#39582;挎挱锛屾棤闇鐩?#37928;勬柟杩?#37733;?#28000;?#28003;曟?#22559;伅銆?/span>
Game:
鎵?#37714;?#37832;?#37716;?#37731;?#37928;凷ession锛?#37929;存帴Send
閫?#26473;?#28051;?#26462;?#37832;?#37716;?#37731;?#38171;?#37812;?#32457;?#28051;?#28051;?#36423;?#37832;?#37716;?#37731;?#26473;?#29723;屾敞鍐?骞挎挱
瀹?#37812;?#32468;?#37928;刴odel鏁?#37817;?#38343;瑕佹?#23384;柊鏃?#38171;?#37832;?#37716;?#37731;?#28028;?#28051;?#37716;?#37818;?#38315;佹?#22559;伅銆?/span>
?#29238;鎴?#37832;?#37716;?#37731;病鏈?#28051;?#37837;?#37928;凴PC璁?#29825;?#38343;?#30512;锛屾帹閫?#37724;?#37719;曠嫭鍙?#38315;?#26440;Web鏈?#37716;?#37731;洿澶?#37510;?#38000;?#28051;父鎴?#37832;?#37716;?#37731;?#28598;氫娇鐢?#38336;?#26473;炴帴锛屾墍浠?#28051;?#37716;?#37818;?#38315;?#28052;熸瘮Web鏈?#37716;?#37731;?#37833;?#37928;勬柟渚?#28051;浜?#37510;?/span>
Web:
灏嗘帹閫佸仛鎴?#28051;撴湁鐨勬湇鍔?#38171;屽苟鍋?#37818;?#38339;?#37724;屽苟鍙?#28598;?#37918;?#37510;?/span>
鍙?#37922;?#37804;?/span>
鍚?#29831;?#26473;囨父鎴?#37707;?#37832;嶆?#23384;柊锛屾敮?#31919;瀹?#37832;?#37716;?#37731;?#37734;?#37714;?#27996;岀淮鐮佹?#36346;仠鏈?#27996;嗗彲涓瀹氳楠傛儴鍚?#37510;俉eb瀵规湇鍔?#37731;珮鍙?#37922;?#37804;?#29781;佹眰寰堥珮锛屾父鎴忚櫧鐒?#28052;熸敞閲?#37832;?#37716;?#37731;?#32459;?#28729;?#37804;?#37724;?#37721;?#37922;?#37804;?#38171;?#28003;嗘槸鐢?#27996;?#37911;堟湰杩唬鏇存柊棰?#32507;?#38171;屽仠鏈嶆?#23384;柊鍙?#38000;?#38003;借?#23792;緱鐜?#28729;舵帴鍙椼?/span>
Game:
?#29238;鎴?#28725;?#37721;?#37922;?#37804;?#29781;佹眰涓嶉珮銆?/span>
?#29238;鎴?#28598;?#37911;堟湰鏇存柊鏃?#38343;瑕佸仠鏈嶆?#23384;柊銆傛敮鎸佺儹鏇存柊鎶鏈?#37928;勬湇鍔?#37731;?#38171;堜緥濡侲rlang锛孲kynet锛?#28000;呬娇鐢儹鏇存柊?#24936;澶峛ug锛?#23536;?#28751;?#37929;存帴鏇存柊?#26570;鐗堟湰銆?/span>
涓?#37828;墍鏈?#37928;勬父鎴?#37832;?#37716;?#37731;敮鎸?#37716;?#37804;?#23075;?#37716;?#37832;?#37716;?#37731;?#37510;?/span>
Web:
鏋侀珮鐨勫彲鐢?#37804;?#38171;?#37832;?#37716;?#28051;?#37711;?#29825;?#37707;?#37832;嶆?#23384;柊锛屼娇鐢?#38019;?#32513;?#37721;婄?#26495;?#26591;寮忔?#23384;柊鏈?#37716;?#37731;?#37510;?/span>
闅?#37827;跺彲浠?#22959;?#37722;戞墿?#30541;鏈?#37716;?#37731;?#38171;屾?#24880;?#27195;湇鍔?#37731;?#28729;归噺鍜?#37813;?#26462;?#37510;?/span>
杩炴帴鍙婁紶杈?/span>
鍧囦娇鐢TCP?#32054;杈?#37719;?#29825;?#38171;屾父鎴?#37832;?#37716;?#37731;敞閲?#37804;?#38003;?#38171;岃嚜鏈?#37719;?#29825;?#37721;?#27996;?#26473;?#37714;?#37719;?#29825;娇鐢?#26440;冨銆?/span>
Web?#25950;閲?#37711;?#28729;?#37724;屾帴鍙?#37721;嬪锛屼娇鐢JSON鏍?#23534;忚?#20904;銆?/span>
Game:
?#23047;鐢?#38336;?#26473;炴帴锛?#38343;瑕?#28000;?#38315;昏緫?#30512;缁存姢杩炴帴鐘舵佸強澶?#37918;嗘湇鍔?#37731;?#28051;?#37734;?#32510;挎儏鍐?/span>
?#23047;鐢嚜鏈?#28751;佸寘鏍?#23534;?#38171;?#28598;?#38318;?#37714;嗕娇鐢protobuf鎴?#27996;?#26473;?#37714;舵?#20345;牸寮?#37510;?/span>
Web:
寰?#37832;?#37716;?#28598;?#38318;?#37714;嗕娇鐢?#37933;?#26473;炴帴锛実rpc?#25966;鎸http2闀?#26473;炴帴
?#23047;鐢json缂?#37934;佹柟渚胯?#20909;瘯鍜岀?#22559;湰鍏?#28729;?#37510;?/span>
娴侀噺闄?#37714;?/span>
浜?#37825;?#28598;?#27996;?#38171;?#28000;?#28003;?#37832;?#37716;?#37731;?#38318;?#37813;?#28051;?#28003;?#38171;屾?#20352;噺闄?#37714;?#37724;岀鍏?#38340;?#37714;?#38003;?#37832;夋?#22556;繚鎶?#37832;?#37716;?#37731;?#32459;?#28729;?#37510;?/span>
Game:
鍗?#37832;?#37832;?#27996;?#37825;?#38340;?#37714;?#38171;?#37721;?#28000;?#38315;?#26473;GM鍚庡彴璁?#32515;?#37816;?#28583;?#38171;岃秴杩囨棤娉?#26473;?#37711;?/span>
Web:
闄愭?#20344;櫒涓棿浠?#38171;?#37721;?#28000;?#21095;鍒?#37832;?#37716;?#37818;?#37714;舵?#20352;噺
鏂祦锛?#38339;?#23005;洩宕?/span>
Game:
?#29238;鎴忔病鏈?#38171;?#28052;?#28051;?#38343;瑕?#26473;?#32457;嶆蹇?#38171;屾父鎴忚?#38155;眰涓?#28028;氱鐒?#37719;囬珮锛?#37719;?#28186;?#37832;?#38171;?#28052;熼?#26473;GM鍚庡彴浜?#28051;?#37818;?#37714;?/span>
Web:
鏂?#23092;佸櫒涓棿浠?
鏈?#37716;?#37721;戠幇
濡?#28003;?#37813;?#37714;?#37832;?#37716;?#37731;?#37734;板潃銆?/span>
鏈?#37716;?#37832;?#37721;樺寲鏃?#38171;?#38315;?#26473;Watch绯荤粺閫?#37933;?#29825;?#38339;?#38000;呮?#23384;柊鏈?#37734;扮紦瀛?/span>
鏈?#37716;?#37731;病鏈?#37721;樺寲鏃?#38171;屼娇鐢?#37832;?#37734;扮紦瀛樻壘鍒?#37832;?#37716;?#37734;板潃
Game:
?#29238;鎴?#37832;?#37716;?#37731;?#27996;?#37929;?#28186;?#29863;?#28598;?#37922;?#37721;?#37734;?#23536;?#28751;忕殑鑼冨?#26449;唴锛屽洜姝棤闇鍦?#28051;?#37722;岃瑷涓?#37722;?#26473;?#32459;?#37832;?#37716;棿鑾峰緱鍦板潃锛?#28598;?#38318;?#37714;?#37734;?#38320;嶇疆鏂?#28000;?#28051;?#28617;?#37712;?#37722;勬湇鍔?#37928;IP鍙?#37734;板潃鍗?#37721;?#27996;?#37929;?#29825;块棶銆?/span>
鏃湡?#29238;鎴忚嚜宸?#32514;?#37712;?#37832;?#37716;?#37731;?#37912;舵佸強鍦板潃鍙戠幇鏈?#37716;?#37510;?/span>
鏈?#37922;redis鍋?#37832;?#37716;?#37721;戠幇
Web:
?#23047;鐢?#37832;?#37716;?#37721;戠幇绯荤粺锛?#37714;嗗寮?#38318;?#32515;?#37510;傛棤闇渚?#29863;?#38320;嶇疆鏂?#28000;?/span>
缃?#37711;?#38343;?#30512;
Game:
缃?#37711;?#28598;?#37918;?#28729;?#37812;?#32468;?#28051;?#28051;嬬嚎閫?#37933;?#38171;?#36423;冭锛岀淮鎸?#26473;炴帴锛?#26462;?#37721;?#38171;?#39582;挎挱涓?#28051;?#29723;?#28751;佸寘
Web:
鏍规嵁璇锋眰鍦板潃璺?#37922;?#38171;屾棤涓?#28051;嬬?#25358;蹇?#38171;屾棤蹇冭銆傚?#25358;挱閫?#26473;囨?#22559;伅鎺?#38315;?#32495;荤粺瀹?#37812;?/span>
鐢?#27996;?#32471;旇?#28000;?#27996;嬫父鎴忚涓?#38171;?#28725;筗eb鏈?#37716;?#37731;?#22994;?#36423;?#37734;?#38315;愭笎鐔熸倝涓?#38171;岃鏈?#38335;欒鍜?#28051;嶈璇?#37722;?#28003;?#28598;?#28003;?#37816;囧嚭銆?/span>
鏈?#27996;烘柊涔?#37510;奊o璇?#29815;浠?#37711;棬鍒?#26473;?#38339;?#28729;?#37812;?#37510;?#38171;岀敓鍔?#37928;勮瑷锛?#28186;?#28699;愬甫鏈?#37722;?#32457;嶅僵铔?#38171;?#26462;?#37833;?#27996;嗚Go璇?#29815;鐗规?#38171;屾洿鏈?/span>cellnet妗嗘灦鍓?#37835;愯瀵?/span>
https://search.jd.com/Search?keyword=go%E8%AF%AD%E8%A8%80%E4%BB%8E%E5%85%A5%E9%97%A8%E5%88%B0%E8%BF%9B%E9%98%B6%E5%AE%9E%E6%88%98&enc=utf-8&suggest=1.def.0.V02&wq=Go%E8%AF%AD%E8%A8%80%E4%BB%8E&pvid=145d55a92cab4b07b71326f8beb1700b


鎴橀瓊灏忕瓚 2018-08-29 11:16 鍙?#29723;?#29831;?#29825;?/a>
]]>宓?#28610;梘it搴?#37928;勭鐞?/title><link>http://www.9087120.com/sunicdavy/archive/2017/12/19/215432.html</link><dc:creator>鎴橀瓊灏忕瓚</dc:creator><author>鎴橀瓊灏忕瓚</author><pubDate>Tue, 19 Dec 2017 14:04:00 GMT</pubDate><guid>http://www.9087120.com/sunicdavy/archive/2017/12/19/215432.html</guid><wfw:comment>http://www.9087120.com/sunicdavy/comments/215432.html</wfw:comment><comments>http://www.9087120.com/sunicdavy/archive/2017/12/19/215432.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.9087120.com/sunicdavy/comments/commentRss/215432.html</wfw:commentRss><trackback:ping>http://www.9087120.com/sunicdavy/services/trackbacks/215432.html</trackback:ping><description><![CDATA[<div yne-bulb-block="heading" yne-bulb-level="1" id="8683-1513690294872" style="white-space: pre-wrap; line-height: 1.75;"><span style="font-size: 28px; font-weight: bold;">宓?#28610;梘it搴?#37928;勭鐞?/span></div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;">?#23047;鐢git浣?#28051;?#23143;愪唬鐮佺鐞嗘椂锛岀?#24531;父闇瑕?#37734;?#28051;涓猤it?#21804;鐮佸簱涓?#28000;庡缃?#38014;?#37721;栨柊鐨刧it搴?#38171;?#28052;?#28751;?#37828;?#37734;git搴?#28051;嬪祵濂?#37721;?#28598;?#28051;涓猤it搴?#37510;?#38000;?#37722;?#37827;?#32513;存姢涓?#28051;猤it搴?#37928;?#26473;?#32459;?#28751;卞彉鐨?#38344;炲父澶?#37833;?#37510;?/div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;"></div><div yne-bulb-block="heading" yne-bulb-level="2" id="9569-1513690617117" style="white-space: pre-wrap; line-height: 1.75;"><span style="font-size: 20px; font-weight: bold;">submodule鐨?#23534;?#32468;?/span></div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;">?#29238;瑙?#37928;勫仛娉?#37828;娇鐢git ?#24385;渚?#37928;剆ubmodule鍔?#38003;?#37510;?#28003;submodule鐨勭鐞嗗祵濂梘it搴?#37928;?#32513;撴灉寰寰涓?#37828;?#37812;?#28000;湡鏈?#37928;?#32513;撴灉銆傚亣璁?#37832;?#28051;涓猤it搴?#37721;project锛?#37734;project鐨勬煇涓?#28699;?#37929;?#35120;?#28051;?#26473;樺寘鍚?#28051;涓?#37721;?rd鐨?#37929;?#35120;?#38171;?#37828;?#37721;?#28598;?#28051;涓猤it搴?#37510;?/div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;">D:.</div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;">└─project</div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;"> └─3rd</div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;"> mytext.txt</div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;">鍋?#29825;?#37922;?#37724;?#28052;?#38318;?#37721;?#27996;project鐨勪唬鐮?#38171;岀敱浜?#37827;?#38338;村樊寮?#38171;岀敳閫?#26473;submodule鍙?#37714;V1鐗?#38171;?#38000;?#28052;?#37721;?#37714;?#27996;哣2鐗堟湰銆?#37922;?#28052;?#37722;?#37827;?#37734;?#28051;?#37722;?#37928;?rd搴?#28051;?#26473;?#29723;?#23534;鍙?#38171;?#37716;?#36423;?#28028;?#38315;?#37812;?#28051;?#37722;?#37928;?#26473;愯?#23680;?#25780;灉銆?#28052;?#29825;?#28003;?#29825;?#28051;?#37721;?#28000;?#37734;?#38014;?#37721;杝ubmodule鏃舵寚瀹?#37911;堟湰锛?#28003;?#26473;?#28051;?#38014;?#37721;?#26473;?#32459;?#23536;堥鎺?#37714;?#37510;?/div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;">涓鑸?#29831;?#37833;?#38171;岀涓夋柟搴?#25652;旂敱涓荤?#23338;簭杩?#29723;屾?#23384;柊鍙?#32513;存姢锛?#28051;鑸儏鍐?#28051;?#38171;?#26916;?#37929;病鏈?#37911;规畩闇姹傛椂锛?#28051;?#28028;氶殢渚挎?#23384;柊绗?#28051;夋柟搴?#37714;?#37832;?#26570;鐗堟湰锛屽洜姝submodule鏇存柊宓?#28610;?#37928;刧it搴撳苟涓?#37828;?#37918;嗘兂鐨勮鍐虫柟妗?#37510;?/div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;"></div><div yne-bulb-block="heading" yne-bulb-level="2" id="3018-1513690681993" style="white-space: pre-wrap; line-height: 1.75;"><span style="font-size: 20px; font-weight: bold;">宓?#28610;梘it搴?#37928;勪慨鏀?#37721;?#29785;佹?/span></div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;">鍓?#38344;?#37928;勪緥瀛?#28051;?#38171;宲roject git搴?#28051;?#37928;?rd鐨刧it搴?#28051;?#28641;傛灉鏈夋枃浠跺彂鐢熶慨鏀?#38171;?#23005;?#37827;?#37734;project鐩?#35120;?#28051;?#38171;屼娇鐢sourceTree?#29905;git绠?#37918;嗗伐鍏锋棤娉曡瘑鍒?rd涓?#37928;?#37826;?#28000;朵慨鏀?#37510;?/div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;">涔?#28751;?#37828;?#29831;?#38171;屾棤娉?#28751;?rd涓?#37928;勪慨鏀规彁浜?#37714;皃roject鐨刧it搴?#28051;?#37510;?/div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;"></div><div yne-bulb-block="heading" yne-bulb-level="2" id="2131-1513690883989" style="white-space: pre-wrap; line-height: 1.75;"><span style="font-size: 20px; font-weight: bold;">缁堟瀬瑙?#37712;虫柟妗?/span></div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;">姝?#37827;?#38171;?span style="font-weight: bold;">灏?rd鐩?#35120;?#28051;?#37928;?git鐩?#35120;曟?#20635;椂绉诲嚭project鍜?rd鐩?#35120;?/span>锛?#23005;?#37827;?#38171;?#37734;project鐩?#35120;?#37922;sourceTree鏌?#37930;?#37827;?#38171;?#28751;嗗彲浠?#37930;?#37714;?rd涓?#37928;?#37826;?#28000;朵慨鏀?#38171;屾彁浜慨鏀?#37714;皃roject搴?#28051;?#37510;傚啀灏?#37714;?#32457;诲?#21700;幓鐨?rd鐨?git鐩?#35120;?#32457;诲洖3rd鐩?#35120;?#28051;?#38171;?#37734;?rd鐩?#35120;?#28051;嬩娇鐢git status锛?#28751;嗗彲鐪?#37714;?rd鐩?#35120;?#37928;勪慨鏀?#38171;屾彁浜?#37827;?#38171;屼?#27692;?#21973;慨鏀规彁浜?#37714;?rd鐩?#35120;?#37510;?/div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;"></div><div yne-bulb-block="paragraph" style="white-space: pre-wrap; line-height: 1.75;"></div><img src ="http://www.9087120.com/sunicdavy/aggbug/215432.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/sunicdavy/" target="_blank">鎴橀瓊灏忕瓚</a> 2017-12-19 22:04 <a href="http://www.9087120.com/sunicdavy/archive/2017/12/19/215432.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item><item><title>鍦Windows涓?#26473;愯?#23393;inux Shellhttp://www.9087120.com/sunicdavy/archive/2017/11/27/215373.html鎴橀瓊灏忕瓚鎴橀瓊灏忕瓚Mon, 27 Nov 2017 07:15:00 GMThttp://www.9087120.com/sunicdavy/archive/2017/11/27/215373.htmlhttp://www.9087120.com/sunicdavy/comments/215373.htmlhttp://www.9087120.com/sunicdavy/archive/2017/11/27/215373.html#Feedback3http://www.9087120.com/sunicdavy/comments/commentRss/215373.htmlhttp://www.9087120.com/sunicdavy/services/trackbacks/215373.html

瓒?#37833;?#29906;?#28598;?#37928;?#27996;?#38315;夋嫨鐢Mac鎴?#38000;匧inux鐜?#28583;?#26473;?#29723;岃法骞?#37721;?#26916;?#37929;?#23534;鍙?#37510;?#28003;嗘槸浠?#37906;舵湁澶?#38318;?#37714;嗕汉涔犳儻浜?#37734;Windows鐜?#28583;?#28051;?#26473;?#29723;?#23534;鍙?#38171;屾瘯绔Windows鍦?#37722;勬柟闈娇鐢?#26473;樻槸杈?#28051;烘柟渚?#38171;岀壒鍒?#37709;?#37826;?#28000;?#37911;堟湰绠?#37918;?#38171;圙it锛孲VN?#29905;锛?/p>

鍦?#29882;?#39582;?#37721;?#28051;?#23534;鍙戞父鎴?#37812;?#26462;?#28000;?#38171;?#28751;?#38343;瑕佹湁涓濂楁柟渚?#37928;勮嚜鍔寲宸?#37711;?#37510;俉indows涓?#38343;瑕佷娇鐢?#37813;?#28598;?#37918;?#38171;岃櫧鐒舵湁PowerShell鍔?#37816;?#38171;?#28003;?#26473;?#28051;?#29783;?#28699;?#27996;嗕篃涓?#38344;犺氨锛?#37721;?#37832;?#28051;涓?#39582;?#37721;?#38003;?#37922;?#37510;傚瀹?#26473;樻槸涔犳儻Linux Shell銆?#26473;Mac骞?#37721;?#38318;?#37721;?#28000;?#37922;Shell锛學indows涓?#29781;佸?#27699;嚜鍔?#37718;栬鏈?#28751;?#37828;惧緱闈炲父灏?#28751;?#37510;?/p>

鎴戞浘缁?#37734;?#26916;?#37929;?#28051;娇鐢go缂?#37712;?#27996;?#28051;濂?#28751;嗛?#23943;疆杞?#28051;?#37813;?#28598;?#37918;?#37724;孡inux Shell鐨勫伐鍏?#37510;備娇鐢?#26473;?#32459;?#26440;?#28051;?#28598;?#37833;?#38171;?#28003;嗘槸鑳借法骞?#37721;?#26473;?#29723;?#29723;?#37837;?#28725;煎嚭鍜?#37719;?#29825;?#32514;栬?#25120;瓑宸?#28003;?#37510;?/p>

浣嗘槸锛?#26473;?#28051;?#23480;?#37711;?#26473;樻槸闇瑕佸涓?#37722;?#37928;勫钩鍙扮紪鍐?#28598;氬?#26945;鏉?#26473;?#29723;屼唬鐮?#37922;?#37812;?#38171;?#38344;炲父绻佺悙銆傚?#20635;灉鏈?#28051;濂?#29882;?#39582;?#37721;?#37928;凷hell锛岀紪鍐?#28051;娆?#28751;卞彲浠?#29882;?#39582;?#37721;?#26473;愯閭?#29831;?#28598;氬銆?/p>

鏌?#38339;?#29863;?#37826;?#37722;?#38171;?#28051;鍏?#37832;夊涓柟妗?#38171;?/p>

  1. ?#23047;鐢Python浣?#28051;鸿嚜鍔寲宸?#37711;?杩?#28051;柟妗?#37711;?#28729;?#28751;?#37828;娇鐢python鎶?#37813;?#28598;?#37918;?#37724;孲hell骞?#37928;?#27996;嬫儏鐢唬鐮佹潵瑙?#37712;?#37510;?#28003;嗗?#23942;彁鏄?#29781;侀?#23942;柊瀛?#28052;Python锛?#28052;?#38343;瑕?#28051;閮?#37714;?#37908;熸?#22796;畝鍗?#37928;凱ython璇?#23049;?#38171;?#27996;?#28051;?#28699;?#28052;?#37812;?#37832;?#26440;冮珮锛?#28052;?#23011;旇?#20909;垂浜?#37510;?/p>

  2. ?#22172;宸?#32514;?#37712;?#28051;濂楃嫭绔?#37928;勮嚜鍔寲宸?#37711;?杩?#28051;柟妗?#38343;瑕侀暱鏃堕棿鐨?#38315;傞厤杩?#32459;?#38171;?#23480;?#28000;涔堟寚浠?#29723;?#28000;涔堟寚浠?#38171;?#28725;归鐩?#26473;涘鏈?#28051;瀹氬共鎵?#37510;?/p>

  3. ?#22172;宸?#32514;?#37712;Linux Shell鐨勮閲?#37731;?杩?#28051;?#28751;辨洿闅?#27996;?#38171;?#29781;佸?#27692;埌100%鍏?#28729;?#38171;屽熀鏈?#28051;?#37721;?#38003;?#37510;?/p>

  1. ?#23047;鐢Cygwin鍜孧ingw 闇瑕?#28051;涓?#23536;?#37736;?#26473;愯鏃?#26473;?#29723;孡inux Shell鐨勮閲?#38171;msys澶?#22994;?#37828;?8M宸?#37721;?#38171;?#37721;?#29723;?#37804;?#26440;冮珮銆?/li>

鍦?#37934;旂?#31126;ygwin鍜孧ingw濡?#28003;?#37825;村悎鐨?#26473;?#32459;?#28051;?#38171;?#37812;?#29831;搷浣?#37904;瑰嚮浜?#28051;涓猻h鍚庣紑鐨凩inux Shell锛?#26473;?#37828;?#37812;戝笇鏈?#29825;Mingw杩愯鐨凷hell銆?#32513;撴?#28355;憿锛宻h鍚庣紑鐨?#37826;?#28000;跺眳鐒?#38003;?#37734;Windows涓?#26473;愯銆?#37812;戦涓?#32514;?#37712;?#27996;?#28051;绯?#37714;?#37928;勪緥瀛?#38171;?#37721;?#37916;板?#29361;箮瀹?#37711;?#37711;?#28729;瑰父鐢?#37928;凷hell鎸?#28000;?#37510;?缁?#26473;?#37934;旂锛?#37812;?#37721;戠幇Windows涓?#38003;?#26473;愯?#23483;h鏂?#28000;舵槸鐢Git?#22172;?#29995;鐨刴sys2?#24385;渚?#37928;?#37510;侻SYS2 锛圡inimal SYStem 2锛?nbsp;http://www.msys2.org/锛?/a> 鏄?#28051;涓狹SYS鐨勭嫭绔?#37824;?#37712;?#37911;堟湰锛?#28051;?#29781;?#37922;?#27996;?shell 鍛戒护琛?#23534;鍙?#37916;?#28583;?#37510;傚悓鏃?#28729;?#28052;?#37828;?#28051;涓?#37734;Cygwin 锛圥OSIX 鍏?#28729;规眰锛?鍜?MinGW-w64锛堜粠"MinGW-鐢?#37812;?锛夊熀纭涓?#27996;?#37922;?#37928;?#38171;?#26473;芥?#20635;?#26449;鐨?#27996;掓搷浣?#37804;?#37928;?Windows 杞?#28000;?#37510;?/p>

閭?#28751;?#37828;?#29831;?#38171;?span style="box-sizing: border-box; font-weight: 600;">鍙?#29781;?#28729;?#29761;?#27996;咷it锛?a href="https://git-scm.com/%EF%BC%89%EF%BC%8C%E9%82%A3%E4%B9%88%E5%B0%B1%E5%8F%AF%E4%BB%A5%E5%9C%A8Windows%E4%B8%8B%E7%9B%B4%E6%8E%A5%E8%BF%90%E8%A1%8CLinux" style="box-sizing: border-box; background-color: transparent; color: #0366d6; text-decoration-line: none;">https://git-scm.com/锛?#38171;?/a>閭?#28052;?#28751;卞彲浠?#37734;Windows涓?#37929;存帴杩愯?#23393;inux Shell锛?#37721;?#38343;瑕?#28751;嗘枃浠跺?#24227;紑鍛?#37722;?#28051;簊h鍗?#37721;?/span>銆?/p>

?#26870;杩囧杈?#37721;嬩汉鏄?#37722;?#37933;?#38316;?#26473;?#28051;鍔?#38003;?#38171;?#38318;借鐭?#38316;?#38171;?#37721;?#37828;病鏈?#39582;挎挱鑰?#23480;?#38171;?#28729;?#37812;?#37934;旂寰堜……



鎴橀瓊灏忕瓚 2017-11-27 15:15 鍙?#29723;?#29831;?#29825;?/a>
]]>Golang ?#20793;鏇存柊鐮旂绗?#29825;?/title><link>http://www.9087120.com/sunicdavy/archive/2017/07/06/215057.html</link><dc:creator>鎴橀瓊灏忕瓚</dc:creator><author>鎴橀瓊灏忕瓚</author><pubDate>Thu, 06 Jul 2017 04:47:00 GMT</pubDate><guid>http://www.9087120.com/sunicdavy/archive/2017/07/06/215057.html</guid><wfw:comment>http://www.9087120.com/sunicdavy/comments/215057.html</wfw:comment><comments>http://www.9087120.com/sunicdavy/archive/2017/07/06/215057.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.9087120.com/sunicdavy/comments/commentRss/215057.html</wfw:commentRss><trackback:ping>http://www.9087120.com/sunicdavy/services/trackbacks/215057.html</trackback:ping><description><![CDATA[<p data-source-line="1" style="box-sizing: border-box; margin-bottom: 16px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 21px; widows: 1; background-color: #ffffff; margin-top: 0px !important;">鏈?#37826;?#28051;?#29781;?#37934;旂?#33333;父鎴?#37832;?#37716;?#37731;甫鐘舵?#37928;勭儹鏇存柊闇?#30512; http鐨勬棤鐘舵佺儹鏇存柊闇姹傚凡缁?#37832;?#37812;?#37908;熸柟妗? 鏁?#28051;?#37734;?#37832;?#37826;囨弿杩?#38012;冨洿</p><h1><a href="file:///C:/Users/Davy/AppData/Local/Youdao/YNote/markdown/index.html#?#29056;鏈?#22994;?#36423;? style="box-sizing: border-box; color: #4078c0; text-decoration-line: none;"></a>?#29056;鏈?#22994;?#36423;?/h1><ul data-source-line="6" style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-left: 2em; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 21px; widows: 1; background-color: #ffffff;"><li style="box-sizing: border-box;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">Golang鐨勭儹鏇存柊閲?#37922;?#28000;涔堟満鍒?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">?#23047;鐢go1.8?#24385;渚?#37928;刾lugin?#23512;鏈?#37714;?#28729;炵幇</p></li><li style="box-sizing: border-box; margin-top: 0.25em;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">plugin?#23512;鏈韩璁?#29825;?#37928;?#37929;?#37928;?#37828;儹鏇存柊涔?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">plugin?#23512;鍏?#28729;炲彧鏄敮鎸?#28751;嗕唬鐮?#37714;?#37714;?#32514;栬瘧涓?#28598;?#28051;?#37716;?#37804;佸簱,鍔?#37804;?#37716;?#26462;?#37722;?#26473;愯 ?#33503;涓?#38003;?#28729;?#37711;敮鎸佺被浼糃/C++鐨勫姩鎬佸?#25780;柟寮?#28598;?#37918;嗕唬鐮?/p></li><li style="box-sizing: border-box; margin-top: 0.25em;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">?#29995;鐘舵?#37928;?#26473;?#32459;嬬儹鏇存柊鐨勫熀鏈?#22994;?#36423;?#37721;?#38012;冨洿鏄?#28000;涔?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鏁?#37817;?#38318;?#37714;?model)涓嶆?#23384;柊, 鍙?#37831;存柊閫昏緫閮?#37714;?鍑?#37825;?</p></li><li style="box-sizing: border-box; margin-top: 0.25em;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">琛?#37837;?#37724;岄?#23943;疆鏇存柊绠楃儹鏇存柊涔?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">绠? 浣?#28051;?#37828;?#37832;?#37826;囨弿杩?#38012;冨洿</p></li><li style="box-sizing: border-box; margin-top: 0.25em;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">?#20793;鏇存柊鑳?#37734;windows涓婁娇鐢?#28052;?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">涓嶆敮鎸?/p></li></ul><h1><a href="file:///C:/Users/Davy/AppData/Local/Youdao/YNote/markdown/index.html#?#21804;鐮佸強缁撴瀯" style="box-sizing: border-box; color: #4078c0; text-decoration-line: none;"></a>?#21804;鐮佸強缁撴瀯</h1><ul data-source-line="29" style="box-sizing: border-box; margin-top: 0px; margin-bottom: 16px; padding-left: 2em; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 21px; widows: 1; background-color: #ffffff;"><li style="box-sizing: border-box;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鎴?#38003;?#28751;嗗師鏉?#28051;涓猠xe鐨勪唬鐮佺?#26668;瘧涓簊o?#24385;渚?#32513;檖lugin?#23047;鐢?#28052;?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鍙?#28000;? 浣嗘槸蹇?#26916;?#28000;?#37906;朵繚?#26240;main?#23512;浣?#28051;烘彃浠?#37711;?#37721;? ?#33503;鍦main?#23512;鍐?#23075;?#37716;犳彁渚?#32513;檖lugin璋?#37922;?#37711;?#37721;?</p></li><li style="box-sizing: border-box; margin-top: 0.25em;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">濡傛灉鍔?#37804;佸簱涓病鏈塵ain?#23512;, 缂栬瘧鍑?#37928;剆o鑳?#37922;?#28052;?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">涓?#38003;? ?#23512;蹇?#26916;诲寘鍚玬ain, 鍚?#37714;欒緭鍑?#37928;?#37828;?a鐨?#37826;?#28000;? plugin?#23512;鍔?#26462;戒?#27693;姤閿?/p></li><li style="box-sizing: border-box; margin-top: 0.25em;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鍔?#37804;佸簱涓? 闈瀖ain?#23512;鐨?#37928;勪唬鐮佷慨鏀?#38003;藉仛?#20793;鏇存柊涔?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;"><span style="box-sizing: border-box; font-weight: 600;">涓?#38003;?/span>!(宕?#23143;?#27996;嗗惂, 鎴戞彁浜?#28051;涓猧ssue: <a href="https://github.com/golang/go/issues/20554" style="box-sizing: border-box; color: #4078c0; text-decoration-line: none; background-color: transparent;">https://github.com/golang/go/issues/20554</a>)</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">濡傛灉纭?#28729;炲仛浜嗕慨鏀? 搴曞?#20633;?#27693;姤閿? plugin was built with a different version of package</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">瑙?#37712;虫柟娉? ?#24936;鏀plugin?#23512;搴曞眰瀹炵?#26495;苟閲嶆柊缂栬瘧 鎵?#23534;runtime/plugin.go, ?#25950;閲?#28000;?#28051;嬩唬鐮?for _, pkghash := range md.pkghashes { if pkghash.linktimehash != *pkghash.runtimehash { return "", nil, pkghash.modulename } } 鎵?#29723;?usr/local/go/run.bash 閲嶇?#26668;瘧+娴嬭瘯</p></li><li style="box-sizing: border-box; margin-top: 0.25em;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">?#21804;鐮?#28051;摢浜?#37721;?#28000;?#29722;?#37831;存柊? ?#26591;娉?#37721;?#28000;?#29722;?#37831;存柊涔? 闂寘?#25023;?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鍙?#38003;芥?#23384;柊鎷?#37832;?#38344;?#37804;?#37734;板潃鐨?#32513;撴瀯.渚嬪: ?#23512;绾?#37714;?#37713;?#37825;??#34987;浼?#27996;?#38344;?#37804;佸嚱鏁?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">渚嬪: svc_0.so閲?#37832;?#28051;涓狥oo鍑?#37825;? svc_1.so?#24936;鏀?#27996;咶oo鍑?#37825;?#28729;炵幇, ?#20793;鏇存柊鍙?#28729;炵幇</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;"><span style="box-sizing: border-box; font-weight: 600;">闂寘=鍑?#37825;?鎹曡幏鍙橀噺</span>, 瀹?#38340;?#28051;?#37828;?#28051;涓?#37716;?#37804;?#32513;撴瀯, ?#30149;鏈?#38344;?#37804;?#37734;板潃, ?#26852;娉曡鏇存柊</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鍚?#32457;嶅寘绾?#37714;?#37721;橀噺, 缁撴瀯浣?#37721;橀噺, 缁撴瀯浣撴柟娉? 灞閮?#37721;橀噺鍧?#28051;?#38003;借?#20793;鏇存柊, 浣嗘槸鍙橀噺鍊?#28051;?#28028;氳褰卞搷</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">?#26570;澧?#32513;撴?#21227;彲浠?#29722;?#26473;愯</p></li><li style="box-sizing: border-box; margin-top: 0.25em;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">?#23047;鐢?#32513;撴瀯浣撴柟娉曡皟鐢?#27996;嗗寘绾?#37714;?#37713;?#37825;? ?#23512;绾?#37714;?#37713;?#37825;?#38003;借鏇存柊涔?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鍙?#28000;? ?#27367;鐒舵柟娉?#28051;?#38003;借鏇存柊, 浣嗘柟娉曡璋?#37922;?#37928;勫寘绾?#37714;?#37713;?#37825;?#37928;?#37734;板潃鏄?#37733;?#28729;?#37928;? ?#22669;浠?#37721;?#28000;?#29722;儹鏇存柊</p></li><li style="box-sizing: border-box; margin-top: 0.25em;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">init?#23512;鍒?#28654;嬪寲鍑?#37825;?#38003;?#37922;?#28052;? 鑳借?#20793;鏇存柊涔?</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">瀹樻柟杩欐?#38155;弿杩?</p><pre data-source-line="71" style="box-sizing: border-box; font-stretch: normal; font-size: 11.9px; line-height: 1.45; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; word-wrap: normal; margin-top: 0px; margin-bottom: 16px; padding: 16px; overflow: auto; border-radius: 3px; background-color: #f7f7f7;"><code style="box-sizing: border-box; display: inline; overflow: visible; padding: 0px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; margin: 0px; font-size: 11.9px; border-radius: 3px; word-break: normal; border: 0px; line-height: inherit; word-wrap: normal; background: 0px 0px transparent;"><span style="box-sizing: border-box; font-weight: 700;">When</span> a plugin <span style="box-sizing: border-box; font-weight: 700;">is</span> first opened, the init functions <span style="box-sizing: border-box; font-weight: 700;">of</span> <span style="box-sizing: border-box; font-weight: 700;">all</span> packages <span style="box-sizing: border-box; font-weight: 700;">not</span> already part <span style="box-sizing: border-box; font-weight: 700;">of</span> the program are called. The main <span style="box-sizing: border-box; font-weight: 700;">function</span> <span style="box-sizing: border-box; font-weight: 700;">is</span> <span style="box-sizing: border-box; font-weight: 700;">not</span> run. A plugin <span style="box-sizing: border-box; font-weight: 700;">is</span> only initialized once, <span style="box-sizing: border-box; font-weight: 700;">and</span> cannot be closed</code></pre><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鎻?#28000;?#32471;?#28051;娆?#29722;?#37813;?#23534;鏃? 鍏?#37711;宠?#26050;殑, ?#30149;鏈?#37812;?#28051;?#32459;嬪?#24533;殑涓閮?#37714;?#37928;勬墍鏈?#37928;勫寘鐨init鍑?#37825;?#28751;嗚璋?#37922;? 鎻?#28000;?#37928;刴ain鍑?#37825;?#28051;?#28028;氳璋?#37922;? 鎻?#28000;跺彧浼氳鍒?#28654;嬪寲涓娆? 涓?#38003;借鍏?#38338;?/p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鍥?#23005;? 闇瑕佹墜鍔?#28751;init鍑?#37825;?#37824;?#37812;愯嚜宸?#37928;勫嚱鏁? ?#31930;涓鍦so鐨刴ain?#23512;閲岃皟鐢?/p></li></ul><h1><a href="file:///C:/Users/Davy/AppData/Local/Youdao/YNote/markdown/index.html#缂栬瘧" style="box-sizing: border-box; color: #4078c0; text-decoration-line: none;"></a>缂栬瘧</h1><ul data-source-line="80" style="box-sizing: border-box; margin-top: 0px; padding-left: 2em; color: #333333; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 21px; widows: 1; background-color: #ffffff; margin-bottom: 0px !important;"><li style="box-sizing: border-box;"><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">濡?#28003;?#32514;栬瘧鑾峰緱plugin鍖呮敮鎸?#37928;勫姩鎬佸簱</p><pre data-source-line="82" style="box-sizing: border-box; font-stretch: normal; font-size: 11.9px; line-height: 1.45; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; word-wrap: normal; margin-top: 0px; margin-bottom: 16px; padding: 16px; overflow: auto; border-radius: 3px; background-color: #f7f7f7;"><code style="box-sizing: border-box; display: inline; overflow: visible; padding: 0px; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; margin: 0px; font-size: 11.9px; border-radius: 3px; word-break: normal; border: 0px; line-height: inherit; word-wrap: normal; background: 0px 0px transparent;">SVCNAME=<span style="box-sizing: border-box; color: teal;">$1</span> SVCVER=<span style="box-sizing: border-box; color: teal;">$2</span> TIMESTAMP=`date <span style="box-sizing: border-box; color: #dd1144;">'+%Y%m%d_%H%M%S'</span>` go build -v -buildmode=plugin --ldflags=<span style="box-sizing: border-box; color: #dd1144;">"-pluginpath=${SVCNAME}_${TIMESTAMP}"</span> -o ${SVCNAME}<span style="box-sizing: border-box; color: teal;">_</span>${SVCVER}.so ${SVCNAME}</code></pre><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">-buildmode=plugin鏄?#38322;?#29781;佸?#20635;暟</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">--ldflags閲?#37928;?pluginpath鐨?#28003;?#37922;?#37828;? 姣忔缂栬瘧鐨勫唴閮?#29831;?#37714;?#29882;?#23536;?#38318;?#37828;?#28051;?#37722;?#37928;? 閬?#37711;?#38322;?#28598;?#37716;?#26462;?#37928;勮?#24993;</p><p style="box-sizing: border-box; margin-top: 16px; margin-bottom: 16px;">鍙?#38000;? <a href="https://github.com/golang/go/issues/19004" style="box-sizing: border-box; color: #4078c0; text-decoration-line: none; background-color: transparent;">https://github.com/golang/go/issues/19004</a></p></li></ul><img src ="http://www.9087120.com/sunicdavy/aggbug/215057.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/sunicdavy/" target="_blank">鎴橀瓊灏忕瓚</a> 2017-07-06 12:47 <a href="http://www.9087120.com/sunicdavy/archive/2017/07/06/215057.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item><item><title>?#23047;鐢Visual Studio Code璋冭瘯Golang宸?#32459;?/title><link>http://www.9087120.com/sunicdavy/archive/2017/04/20/214874.html</link><dc:creator>鎴橀瓊灏忕瓚</dc:creator><author>鎴橀瓊灏忕瓚</author><pubDate>Thu, 20 Apr 2017 04:52:00 GMT</pubDate><guid>http://www.9087120.com/sunicdavy/archive/2017/04/20/214874.html</guid><wfw:comment>http://www.9087120.com/sunicdavy/comments/214874.html</wfw:comment><comments>http://www.9087120.com/sunicdavy/archive/2017/04/20/214874.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.9087120.com/sunicdavy/comments/commentRss/214874.html</wfw:commentRss><trackback:ping>http://www.9087120.com/sunicdavy/services/trackbacks/214874.html</trackback:ping><description><![CDATA[<h1 id="?#23047;鐢visual-studio-code璋冭瘯golang宸?#32459;? style="box-sizing: border-box; white-space: normal; word-spacing: 0px; border-bottom: rgb(238,238,238) 1px solid; text-transform: none; color: rgb(51,51,51); padding-bottom: 0.3em; font: 700 2.25em/1.2 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; margin: 0px 0px 16px; widows: 1; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="1">?#23047;鐢Visual Studio Code璋冭瘯Golang宸?#32459;?/h1> <h2 id="鍏?#38335;?#28699;? style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; border-bottom: rgb(238,238,238) 1px solid; text-transform: none; color: rgb(51,51,51); padding-bottom: 0.3em; font: 700 1.75em/1.225 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 1em; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="3"><a class="markdownIt-Anchor" style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="http://www.9087120.com/sunicdavy/admin/EditPosts.aspx#鍏?#38335;?#28699;?></a>鍏?#38335;?#28699;?/h2> <ul style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; padding-left: 2em; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="4"><li style="box-sizing: border-box">鏈绠鍗?#37928;勮?#20909;瘯鏀荤暐</li><li style="box-sizing: border-box">澶?#26916;?#37929;?#29835;冭瘯, 閫?#37922;?#28051;?#27996;?#23534;鍙?#37724;?#26916;?#37929;?#23534;鍙?/li><li style="box-sizing: border-box">?#26852;闇?#24936;鏀?#32495;荤粺鐜?#28583;冨?#27200;噺</li></ul> <h2 id="鍑嗗vscode" style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; border-bottom: rgb(238,238,238) 1px solid; text-transform: none; color: rgb(51,51,51); padding-bottom: 0.3em; font: 700 1.75em/1.225 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 1em; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="8"><a class="markdownIt-Anchor" style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="http://www.9087120.com/sunicdavy/admin/EditPosts.aspx#鍑嗗vscode"></a>鍑嗗VSCode</h2> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="10">鍦?#28729;?#32515;?#28051;?#26462;?#37832;?#26570;鐗?#37928;刅SCode:</p> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="12"><a style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="https://code.visualstudio.com/">https://code.visualstudio.com/</a></p> <h2 id="瀹?#29761;golang鎻?#28000;? style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; border-bottom: rgb(238,238,238) 1px solid; text-transform: none; color: rgb(51,51,51); padding-bottom: 0.3em; font: 700 1.75em/1.225 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 1em; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="14"><a class="markdownIt-Anchor" style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="http://www.9087120.com/sunicdavy/admin/EditPosts.aspx#瀹?#29761;golang鎻?#28000;?></a>瀹?#29761;Golang鎻?#28000;?/h2> <ul style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; padding-left: 2em; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="15"><li style="box-sizing: border-box"> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">鎵?#23534;鎵睍闈?#37833;?/p> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">VSCode->鏌?#37930;?>鎵睍</p></li><li style="box-sizing: border-box"> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">鎵?#37714;癎o鎻?#28000;?鍦?#37820;滅储妗嗛?#23683;緭鍏Go, 鎵?#37714;?#32471;?#27996;?#29723;?#37712;?#37832;?Rich Go language support for Visual Studio Code鐨勬彃浠? 鐐瑰嚮瀹?#29761;?/p> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">?#25950;?#21104;涓?#37828;?#37818;?#37722;?#37832;?#29678;鐨?/p></li><li style="box-sizing: border-box"> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">閲?#37722;?#32514;栬緫鍣?/p></li></ul> <h2 id="閰嶇疆鍚?#37716;?#26916;? style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; border-bottom: rgb(238,238,238) 1px solid; text-transform: none; color: rgb(51,51,51); padding-bottom: 0.3em; font: 700 1.75em/1.225 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 1em; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="26"><a class="markdownIt-Anchor" style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="http://www.9087120.com/sunicdavy/admin/EditPosts.aspx#閰嶇疆鍚?#37716;?#26916;?></a>閰嶇疆鍚?#37716;?#26916;?/h2> <ul style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; padding-left: 2em; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="27"><li style="box-sizing: border-box"> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">鎵?#23534;璋冭瘯闈?#37833;?/p> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">VSCode->鏌?#37930;?>璋冭瘯</p></li><li style="box-sizing: border-box"> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">娣?#37716;犺?#20909;瘯鐩?#37837;?/p> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">鍦??#30149;鏈夎?#20909;瘯"鐨?#28051;?#37815;?#22935;?#28051;?#37904;瑰嚮"娣?#37716;犻?#23943;疆.."</p></li><li style="box-sizing: border-box"> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">娣?#37716;?#37929;?#37837;囪?#20909;瘯閰嶇疆</p> <p style="box-sizing: border-box; margin-bottom: 16px; margin-top: 16px">渚?#28699;?</p><pre style="box-sizing: border-box; overflow: auto; word-wrap: normal; margin-bottom: 16px; padding-bottom: 16px; padding-top: 16px; font: 11px/1.45 Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding-left: 16px; margin-top: 0px; padding-right: 16px; background-color: rgb(247,247,247); font-stretch: normal; border-radius: 3px" data-source-line="38"><code class="hljs" style="box-sizing: border-box; word-wrap: normal; font-size: 11px; border-top: 0px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; border-right: 0px;background: 0px 0px; white-space: pre; border-bottom: 0px; word-break: normal; color: rgb(51,51,51); padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px; border-radius: 3px">{ "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">version</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"0.2.0"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">configurations</span>": <span class="hljs-value" style="box-sizing: border-box">[ { "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">name</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"Launch"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">type</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"go"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">request</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"launch"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">mode</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"debug"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">remotePath</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">""</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">port</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-number" style="box-sizing: border-box; color: teal">2345</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">host</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"127.0.0.1"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">program</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"${fileDirname}"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">env</span>": <span class="hljs-value" style="box-sizing: border-box">{ "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">GOPATH</span>":<span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"D:/Develop/vscodegolang"</span> </span>}</span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">args</span>": <span class="hljs-value" style="box-sizing: border-box">[]</span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">showLog</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-literal" style="box-sizing: border-box">true</span> </span>} ] </span>}</code></pre></li></ul> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="61">鍏?#28051;? "port", "host"閮?#37828;go鎻?#28000;惰嚜鍔?#37922;?#37812;?#37928;?/p> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="63">"env"涓?#29825;?#32515;?#37916;?#28583;冨?#27200;噺, 璁?#32515;?#28051;?#28003;?#37928;勫伐绋?#37929;?#35120;?#28751;卞彲浠??#23512;鍚bin, src鐨?#37826;?#28000;?#28598;?</p> <h2 id="鍑嗗?#22250;?#20909;瘯鎻?#28000;? style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; border-bottom: rgb(238,238,238) 1px solid; text-transform: none; color: rgb(51,51,51); padding-bottom: 0.3em; font: 700 1.75em/1.225 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 1em; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="66"><a class="markdownIt-Anchor" style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="http://www.9087120.com/sunicdavy/admin/EditPosts.aspx#鍑嗗?#22250;?#20909;瘯鎻?#28000;?></a>鍑嗗?#22250;?#20909;瘯鎻?#28000;?/h2> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="70">姝?#37827;舵壘鍒main.go鎸塅5, 浼氭姤閿欐彁绀?</p><pre style="box-sizing: border-box; overflow: auto; word-wrap: normal; margin-bottom: 16px; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); padding-bottom: 16px; padding-top: 16px; font: 11px/1.45 Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding-left: 16px; widows: 1; margin-top: 0px; letter-spacing: normal; padding-right: 16px; background-color: rgb(247,247,247); text-indent: 0px; -webkit-text-stroke-width: 0px; font-stretch: normal; border-radius: 3px" data-source-line="71"><code class="hljs" style="box-sizing: border-box; word-wrap: normal; font-size: 11px; border-top: 0px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; border-right: 0px;background: 0px 0px; white-space: pre; border-bottom: 0px; word-break: normal; color: rgb(51,51,51); padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px; border-radius: 3px">Failded to continue:"Cannot find Delve debugger. <span class="hljs-operator" style="box-sizing: border-box"><span class="hljs-keyword" style="box-sizing: border-box; font-weight: 700; color: rgb(51,51,51)">Install</span> <span class="hljs-keyword" style="box-sizing: border-box; font-weight: 700; color: rgb(51,51,51)">from</span> https://github.com/derekparker/delve & ensure it <span class="hljs-keyword" style="box-sizing: border-box; font-weight: 700; color: rgb(51,51,51)">is</span> <span class="hljs-keyword" style="box-sizing: border-box; font-weight: 700; color: rgb(51,51,51)">in</span> your <span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"GOPATH/bin"</span> <span class="hljs-keyword" style="box-sizing: border-box; font-weight: 700; color: rgb(51,51,51)">or</span> <span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"PATH"</span></span></code></pre> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="75">鎴?#28000;娇鐢go鍛戒护琛岀?#26668;?#25123;?#20909;瘯鍣?/p><pre style="box-sizing: border-box; overflow: auto; word-wrap: normal; margin-bottom: 16px; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); padding-bottom: 16px; padding-top: 16px; font: 11px/1.45 Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding-left: 16px; widows: 1; margin-top: 0px; letter-spacing: normal; padding-right: 16px; background-color: rgb(247,247,247); text-indent: 0px; -webkit-text-stroke-width: 0px; font-stretch: normal; border-radius: 3px" data-source-line="76"><code class="hljs" style="box-sizing: border-box; word-wrap: normal; font-size: 11px; border-top: 0px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; border-right: 0px;background: 0px 0px; white-space: pre; border-bottom: 0px; word-break: normal; color: rgb(51,51,51); padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px; border-radius: 3px"><span class="hljs-keyword" style="box-sizing: border-box; font-weight: 700; color: rgb(51,51,51)">go</span> <span class="hljs-built_in" style="box-sizing: border-box; color: rgb(0,134,179)">get</span> github.<span class="hljs-keyword" style="box-sizing: border-box; font-weight: 700; color: rgb(51,51,51)">com</span>/derekparker/delve/cmd/dlv</code></pre> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="80">灏哾lv璋冭瘯鍣斁鍦GOPATH(宸?#32459;?#37929;?#35120;?鐨刡in鐩?#35120;?#28051;?/p> <h2 id="寮濮嬭?#20909;瘯" style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; border-bottom: rgb(238,238,238) 1px solid; text-transform: none; color: rgb(51,51,51); padding-bottom: 0.3em; font: 700 1.75em/1.225 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 1em; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="82"><a class="markdownIt-Anchor" style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="http://www.9087120.com/sunicdavy/admin/EditPosts.aspx#寮濮嬭?#20909;瘯"></a>寮濮嬭?#20909;瘯</h2> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="84">閫?#28051;?#29781;佽?#20909;瘯鐨刴ain.go, 鐐瑰嚮F5, 鏃?#37721;?#28000;?#23534;濮嬭?#20909;瘯</p> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="86">璋冭瘯蹇?#37817;?#38335;?#37724;Visual Studio绯?#28051;?#22183;</p> <ul style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; padding-left: 2em; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="87"><li style="box-sizing: border-box">F9 鍒?#37817;?#37826;?#37904;?/li><li style="box-sizing: border-box">F10 Step over</li><li style="box-sizing: border-box">F11 Step in</li><li style="box-sizing: border-box">Shift+F11 Step out</li></ul> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="92">?#25950;鎰忕偣</p> <ul style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; padding-left: 2em; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="93"><li style="box-sizing: border-box">鏌?#27996;?#32513;撴瀯浣?#37812;愬?#27195;棤娉?#37929;存帴鏄?#32448;?#37827;? 鍙?#28000;?#37929;存帴閫?#28051;?#37721;橀噺鍚? 娣?#37716;?#37714;?#37929;?#29785;? 鎴?#38000;?#37721;?#38335;?#37904;瑰嚮: "璋冭瘯:姹傚?</li></ul> <h2 id="澶?#26916;?#37929;?#29835;冭瘯" style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; border-bottom: rgb(238,238,238) 1px solid; text-transform: none; color: rgb(51,51,51); padding-bottom: 0.3em; font: 700 1.75em/1.225 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 1em; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="96"><a class="markdownIt-Anchor" style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="http://www.9087120.com/sunicdavy/admin/EditPosts.aspx#澶?#26916;?#37929;?#29835;冭瘯"></a>澶?#26916;?#37929;?#29835;冭瘯</h2> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="98">鍦launch.json涓?#37721;?#28000;?#23075;?#37716;犲缁勮?#20909;瘯鍏?#37721;? 閫?#26473;囪?#20909;瘯闈?#37833;?#28051;?#38315;?#28051;?#28725;瑰?#26050;殑閰嶇疆寮鍚?#28051;?#37722;?#37929;?#37837;?#37928;勮?#20909;瘯</p><pre style="box-sizing: border-box; overflow: auto; word-wrap: normal; margin-bottom: 16px; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); padding-bottom: 16px; padding-top: 16px; font: 11px/1.45 Consolas, 'Liberation Mono', Menlo, Courier, monospace; padding-left: 16px; widows: 1; margin-top: 0px; letter-spacing: normal; padding-right: 16px; background-color: rgb(247,247,247); text-indent: 0px; -webkit-text-stroke-width: 0px; font-stretch: normal; border-radius: 3px" data-source-line="100"><code class="hljs" style="box-sizing: border-box; word-wrap: normal; font-size: 11px; border-top: 0px; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; border-right: 0px;background: 0px 0px; white-space: pre; border-bottom: 0px; word-break: normal; color: rgb(51,51,51); padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px; border-radius: 3px">{ "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">version</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"0.2.0"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">configurations</span>": <span class="hljs-value" style="box-sizing: border-box">[ { "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">name</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"client"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">type</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"go"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">request</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"launch"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">mode</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"debug"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">remotePath</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">""</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">port</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-number" style="box-sizing: border-box; color: teal">2345</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">host</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"127.0.0.1"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">program</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"${fileDirname}"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">env</span>": <span class="hljs-value" style="box-sizing: border-box">{ "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">GOPATH</span>":<span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"D:/Develop/vscodegolang"</span> </span>}</span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">args</span>": <span class="hljs-value" style="box-sizing: border-box">[]</span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">showLog</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-literal" style="box-sizing: border-box">true</span> </span>}, { "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">name</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"server"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">type</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"go"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">request</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"launch"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">mode</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"debug"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">remotePath</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">""</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">port</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-number" style="box-sizing: border-box; color: teal">2345</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">host</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"127.0.0.1"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">program</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"${workspaceRoot}/src/server"</span></span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">env</span>": <span class="hljs-value" style="box-sizing: border-box">{ "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">GOPATH</span>":<span class="hljs-value" style="box-sizing: border-box"><span class="hljs-string" style="box-sizing: border-box; color: rgb(221,17,68)">"D:/Develop/vscodegolang"</span> </span>}</span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">args</span>": <span class="hljs-value" style="box-sizing: border-box">[]</span>, "<span class="hljs-attribute" style="box-sizing: border-box; color: teal">showLog</span>": <span class="hljs-value" style="box-sizing: border-box"><span class="hljs-literal" style="box-sizing: border-box">true</span> </span>} ] </span>}</code></pre> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="138">"program"涓?#37928;?${fileDirname}"鏄?#28000;?#35120;撳墠閫?#28051;?#37826;?#28000;?#28003;?#28051;?#37722;?#37716;?#37904;?/p> <p style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="140"><strong style="box-sizing: border-box; font-weight: bolder">鏇村缓璁娇鐢?program"鐨?${workspaceRoot}", 浠寘鍚?#28003;?#28051;?#37722;?#37716;?#37904;?#37928;勬柟寮?#26473;?#29723;岄?#23943;疆</strong></p> <h2 id="鍙?#38000;?#38334;炬帴" style="box-sizing: border-box; margin-bottom: 16px; white-space: normal; word-spacing: 0px; border-bottom: rgb(238,238,238) 1px solid; text-transform: none; color: rgb(51,51,51); padding-bottom: 0.3em; font: 700 1.75em/1.225 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 1em; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="144"><a class="markdownIt-Anchor" style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="http://www.9087120.com/sunicdavy/admin/EditPosts.aspx#鍙?#38000;?#38334;炬帴"></a>鍙?#38000;?#38334;炬帴</h2> <p style="box-sizing: border-box; margin-bottom: 0px !important; white-space: normal; word-spacing: 0px; text-transform: none; color: rgb(51,51,51); font: 14px/22px 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; widows: 1; margin-top: 0px; letter-spacing: normal; background-color: rgb(255,255,255); text-indent: 0px; -webkit-text-stroke-width: 0px" data-source-line="146"><a style="box-sizing: border-box; text-decoration: none; color: rgb(64,120,192); background-color: transparent" href="https://code.visualstudio.com/Docs/editor/debugging">https://code.visualstudio.com/Docs/editor/debugging</a></p><img src ="http://www.9087120.com/sunicdavy/aggbug/214874.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/sunicdavy/" target="_blank">鎴橀瓊灏忕瓚</a> 2017-04-20 12:52 <a href="http://www.9087120.com/sunicdavy/archive/2017/04/20/214874.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item><item><title>MMO鐩?#28003;嶆妧鏈?#37934;旂http://www.9087120.com/sunicdavy/archive/2017/04/08/214817.html鎴橀瓊灏忕瓚鎴橀瓊灏忕瓚Sat, 08 Apr 2017 06:41:00 GMThttp://www.9087120.com/sunicdavy/archive/2017/04/08/214817.htmlhttp://www.9087120.com/sunicdavy/comments/214817.htmlhttp://www.9087120.com/sunicdavy/archive/2017/04/08/214817.html#Feedback0http://www.9087120.com/sunicdavy/comments/commentRss/214817.htmlhttp://www.9087120.com/sunicdavy/services/trackbacks/214817.html鐩?#28003;嶆妧鏈?/h1>

鐩?#28003;嶆妧鏈?#28598;?#29785;勬鍑虹幇鍦瓟鍏?#28051;栫?#23416;LK鐗堟湰, ?#24135;鍦?#25652;旂敤宸?#32513;?#39582;?#23049;涘?#26050;敤鍦?#37722;?#32457;峂MORPG?#29238;鎴?#28051;? 涓?#38344;?#28725;?#37929;?#28003;嶆妧鏈?#37928;勫仛娉?#26473;?#29723;岀畝鍗曞綊绾虫眹鎬?/p>

琛幇鍒嗙被

?#22727;鏈?#37929;?#28003;?/h3>

鏃湡?#22727;鏈?#37928;勫?#34425;幇, 閬?#37711;嶆鎬棶棰? ?#22669;浠? ?#22727;鏈?#37711;?#28729;?#37832;韩灏?#37828;?#28051;绉?#37929;?#28003;嶆妧鏈? 鍙?#28051;?#26473;?#28729;炵幇鏃? 鎴?#28000;?#28051;鑸?#28028;氬皢灏?#38339;?#37724;?#37804;?#37911;?#37929;存帴棰?#37714;嗛厤鍦嫭绔?#37928;?#28051;涓壇鏈?#28729;?#28186;?#28051;??#22669;浠壇鏈?#37720;?#37826;?#28052;?#37828;?#28729;?#28186;?#37928;勬剰鎬?

鍒?#32510;?#37929;?#28003;?/h3>

鐩?#28003;嶆妧鏈?#26473;樻病鏈夋寮忓懡鍚?#37827;? 鍚?#28051;涓?#37734;烘櫙, 鐜?#28729;?#26473;?#37714;?#28051;?#37722;?#37928;?#37714;?#32510;跨湅鍒?#37928;勭帺瀹?#28051;?#28051;鏍? 涔?#37828;?#28766;?#27996;?#37929;?#28003;?#37928;?#28051;绉? 褰?#37906;? 濡傛灉鏄?#32513;?#38339;熺帺瀹? 鏈?#37716;?#37731;粯璁?#28028;氬垎閰嶆墍鏈?#38339;熶?#23943;帺瀹?#37734;?#37722;?#28051;涓?#32510;?浣?#38344;?

?#28257;鐩?#28003;?/h3>

?#22727;鏈?#37929;?#28003;?#37724;?#37714;?#32510;?#37929;?#28003;?#37711;?#28729;?#38318;?#37828;?#38344;?#37804;?#37929;?#28003;? 涓鏃?#26473;?#37711;? 涓?#38315;?#28051;?#28028;?#37832;?#37714;?#37817;?#37812;?#38000;?#23075;?#37722;堟煡鐪?#37928;?#26473;?#32459;? ?#28257;鐩?#28003;?#37721;?#28000;?#37734;?#28051;涓?#37734;烘櫙涓?鍔?#37804;?#37714;?#37817;?#37929;?#28003;? 鐩?#28003;?#37712;?#37724;?#37929;?#28003;?#28598;栨墍浠?#28051;?#37722;?/p>

鎴?#28000;父瑙?#37928;勭湡鐩?#28003;?#29723;幇涓? 鐩?#28003;?#28051;?#37928;勮?#25493;壊+鐜?#28729;?闃熶紞鎴愬憳

鍦?#37814;?#38315;?#28000;?#37716;?#37827;? 杩?#28028;氬湪涓?#38344;墍瑙?#29785;掕壊涓?#37721;?#37716;?#28051;栫晫涓?#37928;勬墍鏈?#29785;掕壊, 涔?#28751;?#37828;?#29831;? 浣?#37724;?#38339;熶紞鎴愬憳鍙?#28000;?#37930;?#37714;?#37928;勮?#25493;壊, 鍏?#28000;?#27996;虹湅涓?#37714;? 鍏?#28000;?#27996;?#28052;熺湅涓?#37714;?#28003;?#37724;?#28003;?#37928;?#38339;熶紞鎴愬憳


涓?#27996;嗘?#21614;櫚鐨勭畝鍗?#37928;勬弿杩? 鎴?#28051;?#37929;?#28003;?#37714;涘?#21700;涓嬫蹇?#28051;庡?#23944;

鐩?#28003;?#28729;?#28003;?/h2>

琛幇涓洪櫎鐜?#28729;?#28598;?#37928;勮?#25493;壊(鎬?#37911;?浜?#27996;?#37911;?#28003;?#28051;?#37929;?#28003;?#37721;?#29785;?#37734;烘櫙)

绉佹湁瀹?#28003;?/h3>

杩?#37828;?#37832;?#29238;瑙?#37928;?#28051;绉?#37929;?#28003;?#37712;?#29785;掕壊

  • 鎸佹湁鍙橀噺

    鍙朠hasingID鏃?涓篜hasingTargetID

  • 鐢?#37812;愯鍒?/p>

    褰撶帺瀹?#23534;鍚?#37929;?#28003;?#37722;? 鍦?#37916;?#28729;?#37929;?#28003;?#37712;?span style="box-sizing: border-box; font-weight: bolder;">鐢?#37812;?#37928;勮?#25493;壊涓?#32457;佹湁瀹?#28003;?

    姝?#37827;? 灏?PhasingTargetID璁?#32515;?#28051;?#37929;?#28003;?#37922;?#37812;?#38000;?#37928;?#28729;?#28186;婭D

  • 鍒犻櫎瑙?#37714;?/p>

    濡傛灉鐜?#28729;?#38315;鍑?#37929;?#28003;? 绉佹湁瀹?#28003;?#28028;氬瓨鍦?#28051;娈?#37827;堕棿鎴?#37816;夌収闇?#30512;鍒犻櫎

鍏?#37711;卞浣?/h3>

涓鑸?#37816;囨彁鍓嶆斁缃?#37734;?#37734;烘櫙涓? 涓栫晫鍐?#28051;?#37721;?#29785;? 浣嗘槸鑳借鍚?#37929;?#28003;嶇帺瀹跺彲瑙?涓?#37722;?#37929;?#28003;嶇帺瀹?#38318;?#37721;?#28000;?#27996;?#37929;?#37721;?#29785;??#30254;濡? 鍙?#29781;佹帴浜嗗悓涓涓?#28000;?#37716;?#37928;勭帺瀹? 閮?#37721;?#28000;?#37930;?#37714;?#37928;NPC

  • 鎸佹湁鍙橀噺

    鍙朠hasingID鏃?涓篜ublicPhasingID

  • 鐢?#37812;愯鍒?/p>

    閫?#26473;?#37734;烘櫙缂栬緫鍣? ?#25985;缃?#29785;掕壊鏃? 璁?#32515;?#37711;跺彲琚?#29785;?#28725;?#37714;?#37928;勪换鍔ID

    瑙掕壊琚?#37716;?#26462;?#37722;? 灏嗕换鍔ID璁?#32515;?#37714;癝taticPhasingID

  • 鍒犻櫎瑙?#37714;?/p>

    鍦烘櫙鍒犻櫎, 瑙掕壊鍒犻櫎

鐩?#28003;?#28051;?#28003;?/h2>

?#23512;鍚?#37916;?#28729;?#28051;庡悓闃熶?#23943;帺瀹?/p>

  • 寮鍚?#37929;?#28003;?#37722;? 鍙?#29785;?#32457;佹湁瀹?#28003;?鍏?#37832;?#28729;?#28003;?/p>

  • 闃熼?#33007;涓?#37929;?#28003;?#28051;?#28003;? 鍗?#27996;?#37827;? ?#22172;宸?#28051;?#38339;熼暱

  • 闃熶紞鍏?#28000;?#37812;愬憳鍏变韩闃熼暱鐨?#32457;佹湁鐩?#28003;?#28729;?#28003;?/p>

  • 闃熶紞鍏?#28000;?#37812;愬?#27195;?#35268;嵁?#22172;宸?#37928;凱ublicPhasingID鍖归厤鐩?#37837;?#28725;?#29854;?#37928;凱ublicPhasingID鏃跺彲浜?#37929;?#37721;?#29785;?/p>

  • 鎸佹湁鍙橀噺

鐩?#28003;?#23534;鍚?#37827;? 鍙朠hasingID鏃? 涓?#29785;掕壊瀹?#28186;婭D

鐩?#28003;?#37711;?#38338;?#37827;? 鍙朠hasingID鏃? 涓?

PublicPhasingID

鍙?#29785;?#29785;?#37714;?/h2>

褰?#28051;?#28051;?#29785;掕壊鐨凱hasingID鐩?#32475;夋椂, 涓?#28003;?#28051;?#32457;佹湁瀹?#28003;?#27996;?#37929;?#37721;?#29785;?/p>

褰?#28051;?#28051;?#29785;掕壊鐨凱ublicPhasingID鐩?#32475;夋椂, 涓?#28003;?#28051;?#37711;?#37832;?#28729;?#28003;?#27996;?#37929;?#37721;?#29785;?/p>

鍙?#28000;?#38315;?#26473;?#23534;鍏?#29825;?#32515;? 鏄?#37722;?#37734;?#37721;?#29785;?#37928;?#37929;?#28003;?#28729;?#28003;撳熀纭涓? 鍙?#37716;?#28051;栫?#23683;?#25493;壊(鎶?#38315;?#28000;?#37716;?

绾?#37833;?/h2>
  • 鐜?#28729;跺悓鏃跺彧鑳界湅瑙?涓?#37929;?#28003;?/li>


鎴橀瓊灏忕瓚 2017-04-08 14:41 鍙?#29723;?#29831;?#29825;?/a>
]]>Go璇?#29815;涓?#37835;?#38315;犲嚱鏁?/title><link>http://www.9087120.com/sunicdavy/archive/2016/12/01/214457.html</link><dc:creator>鎴橀瓊灏忕瓚</dc:creator><author>鎴橀瓊灏忕瓚</author><pubDate>Thu, 01 Dec 2016 02:45:00 GMT</pubDate><guid>http://www.9087120.com/sunicdavy/archive/2016/12/01/214457.html</guid><wfw:comment>http://www.9087120.com/sunicdavy/comments/214457.html</wfw:comment><comments>http://www.9087120.com/sunicdavy/archive/2016/12/01/214457.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.9087120.com/sunicdavy/comments/commentRss/214457.html</wfw:commentRss><trackback:ping>http://www.9087120.com/sunicdavy/services/trackbacks/214457.html</trackback:ping><description><![CDATA[<p style="margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1; margin-top: 0px !important;">Golang涓病鏈?#29825;?#29825;?#37835;?#38315;犲嚱鏁? 鍙?#38000;屼唬?#31651;鐨? 璁?#29825;Golang鐨勫甯堝笇鏈?#28003;?#37922;?#37829;?#38315;氬嚱鏁板幓瀹炵幇鏋?#38315;?#37928;勪换鍔? <br />涓鐩村彧鏄?#29785;夊緱杩?#37721;?#37828;?#28003;撶幇Golang杩欓棬?#26570;璇?#29815;鐨勭簿绠璁?#29825;箣閬? 鐩?#37714;拌嚜宸卞疄鐜扮?#26668;瘧鍣?#37722;?#37813;?#37721;戠幇鏋?#38315;犲嚱鏁?#37928;?#29825;?#29825;?#37832;韩鏄?#37706;煎緱鍟嗘鐨?/p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鎴?#28000;?#37711;堢湅涓?#37835;?#38315;犲嚱鏁?#37928;勮鍒?/p><h1>鏋?#38315;犲嚱鏁?#29835;?#37922;?#29785;?#37714;?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鏋?#38315;犲?#20635;暟?#22138;: 0琛?#32448;烘病鏈夋瀯閫犲嚱鏁? 1琛?#32448;?#37832;夋瀯閫犲嚱鏁?涓?#37721;傛暟</p><table style="margin: 10px 0px; border-collapse: collapse; border-style: solid; border-color: #bbbbbb; padding: 0px; color: #000000; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; font-size: 15px; line-height: 24px; widows: 1;"><thead><tr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin: 0px; padding: 0px; background-color: white;"><th style="padding: 6px 13px; border-collapse: collapse; border: 1px solid #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">鏈被鏋?#38315;?/th><th style="padding: 6px 13px; border-collapse: collapse; border: 1px solid #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">鐖剁被鏋?#38315;?/th><th style="padding: 6px 13px; border-collapse: collapse; border: 1px solid #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">澶?#37918;嗘柟娉?/th></tr></thead><tbody><tr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin: 0px; padding: 0px; background-color: white;"><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">0</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">0</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">涓?#28598;?#37918;?/td></tr><tr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin: 0px; padding: 0px; background-color: #f8f8f8;"><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">1</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">0</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">璋?#37832;被ctor</td></tr><tr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin: 0px; padding: 0px; background-color: white;"><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">0</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">1</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">璋?#37910;剁被ctor</td></tr><tr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin: 0px; padding: 0px; background-color: #f8f8f8;"><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">1</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">1</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">璋?#37832;被ctor, 鏈被ctor璋?#37910;剁被ctor</td></tr><tr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin: 0px; padding: 0px; background-color: white;"><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">2</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">1</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">璋?#37832;被ctor, 鏈被ctor璋?#37910;剁被ctor</td></tr><tr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin: 0px; padding: 0px; background-color: #f8f8f8;"><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">1</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">2</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">鎶?#38335;? ?#22684;鍔?#29835;?#37910;剁被ctor</td></tr><tr style="border-top-width: 1px; border-top-style: solid; border-top-color: #cccccc; margin: 0px; padding: 0px; background-color: white;"><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">2</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">2</td><td style="padding: 6px 13px; border-collapse: collapse; border-style: solid; border-color: #cccccc; height: 28px; word-break: break-all; box-sizing: border-box; outline: none; margin: 0px; font-size: 14px;">鎶?#38335;? ?#22684;鍔?#29835;?#37910;剁被ctor</td></tr></tbody></table><h1>鏅?#38315;氬嚱鏁伴噸杞借鍒?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">瀹?#38340;?#37721;?#37922;?#38000;冭?#25118;渶鍏?#37736;?#37928;?#28051;绉?#29723;?#28051;? 瀹?#28186;嬪寲瀛愮被, 杞?#28051;虹埗绫昏皟鐢柟娉? 杩?#28051;?#37827;跺?/p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">濡傛?#28356;柟娉?#37828;痮verride, 璋?#37922;?#37928;?#37828;?#28699;愮被</p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">濡傛?#28356;柟娉?#37828;痸irutal鎴?#38000;?#28051;?#37816;?#37828;? 璋?#37922;?#37928;?#37828;?#37910;剁被</p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鏁?#28051;?#38322;?#26462;?#26473;?#32459;? 瀛?#32491;荤瀵?#28051;?#28028;氶寮忚皟鐢?#37910;剁被鐨勮涓?/p><h1>闇瑕佹瀯閫犲嚱鏁?#28052;?</h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鏋?#38315;犲嚱鏁?#37928;勪紭鐐?/p><ul style="margin: 10px 0px; padding-left: 32px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; font-size: 15px; line-height: 24px; widows: 1;"><li style="margin: 0px 0px 5px;">鏈韩灞?#27996;?#28051;绉?#37911;规畩鐨?#37812;愬?#27194;嚱鏁?/li><li style="margin: 5px 0px;">缂栬瘧鍣?#29999;?#28003;犺嚜鍔?#28028;犲?#33392;皟鐢?#37910;?#32510;?/li></ul><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鏋?#38315;犲嚱鏁?#37928;勭鐐?/p><ul style="margin: 10px 0px; padding-left: 32px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; font-size: 15px; line-height: 24px; widows: 1;"><li style="margin: 0px 0px 5px;">闅?#23534;忕殑璋?#37922;?#29785;?#37714;?/li><li style="margin: 5px 0px;">?#27367;鐒跺浜?#37812;愬?#27194;嚱鏁? 浣嗘槸涓?#37711;?#28000;?#37812;愬?#27194;嚱鏁?#29835;?#37922;?#29785;?#37714;?#28729;?#37711;?#28051;?#37722;? 闇瑕?#37911;规畩璁?#36423;?/li><li style="margin: 5px 0px;">?#29995;鍙傛暟鐨勬瀯閫犲嚱鏁? 鍦?#37910;剁被鍙傛暟澶?#27996;庡瓙?#34987;鏃? 闇瑕?#23534;?#37922;?#28598;?#37833;?#29831;?#23049;?#37833;?#28729;炵?#25198;埗绾?#37835;?#38315;犺皟鐢?/li></ul><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍏?#28729;?#37812;?#28000;?#28725;?#37714;?#28654;嬪寲鍑?#37825;?#37928;?#38343;姹傚彧鏈?鏉? ?#22172;瀹氫箟</p><p style="margin-top: 10px; margin-right: 0px; margin-left: 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1; margin-bottom: 0px !important;">?#22669;浠? 鍙?#28000;?#37918;嗚Golang涓?#37716;?#37711;?#37835;?#38315;犲嚱鏁?#37928;?#29825;?#29825;?#37828;?#23005;?#32429;?#37928;?nbsp;<br />鍗? 绠鍗? 娓呮櫚, 鏈?#29785;勫緥</p><img src ="http://www.9087120.com/sunicdavy/aggbug/214457.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/sunicdavy/" target="_blank">鎴橀瓊灏忕瓚</a> 2016-12-01 10:45 <a href="http://www.9087120.com/sunicdavy/archive/2016/12/01/214457.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item><item><title>Go璇?#29815;鐨勫喎鐭?#29831;?/title><link>http://www.9087120.com/sunicdavy/archive/2016/11/02/214375.html</link><dc:creator>鎴橀瓊灏忕瓚</dc:creator><author>鎴橀瓊灏忕瓚</author><pubDate>Wed, 02 Nov 2016 03:09:00 GMT</pubDate><guid>http://www.9087120.com/sunicdavy/archive/2016/11/02/214375.html</guid><wfw:comment>http://www.9087120.com/sunicdavy/comments/214375.html</wfw:comment><comments>http://www.9087120.com/sunicdavy/archive/2016/11/02/214375.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.9087120.com/sunicdavy/comments/commentRss/214375.html</wfw:commentRss><trackback:ping>http://www.9087120.com/sunicdavy/services/trackbacks/214375.html</trackback:ping><description><![CDATA[<h1>append, map, len涓?#37828;?#37711;?#38335;?#28699;?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">浠栦滑鍏?#28729;?#26473;樻槸绫诲簱鍔?#38003;? 閮?#37734;buildin?#23512;閲?#37928;? 绯荤粺?#31919;璁?#32513;?#28003;犲仛浜?#28051;?/p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #1e347b; margin-top: 0px;">import</span><span style="color: #93a1a1;">(</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"> <span style="color: #93a1a1;">.</span> <span style="color: #dd1144;">"buildin"</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">)</span></code></li></ol></pre><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">灏哹uildin鐨勫寘鍐?#28729;?#38318;?#37828;?#28751;?#37714;?#37711;?#28766;鑰?#23480;? 鍏?#28729;?#28003;?#28052;?#37721;?#28000;?#37922;嚜宸?#37928;勫寘杩?#28052;堝仛</p><h1>鎵?#37719;?#37928;勫彟涓绉?#37712;?#23049;?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">?#20802;璺熻鏈?#28051;鏍?#29835;冭瘯鎵?#37719;?#37825;?#37817;?#28052;?</p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">println</span><span style="color: #93a1a1;">(</span><span style="color: #dd1144;">"hello world"</span><span style="color: #93a1a1;">)</span></code></li></ol></pre><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">?#26852;闇?#23512;鍚?#28000;?#28003;曞寘, 鍥?#28051;?#28729;冨湪buildin?#23512;閲?/p><h1>iota涓?#37828;粦绉戞妧</h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">杩?#37828;?#37734;buildin?#23512;閲?#37928;?#28729;氫箟</p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">// iota is a predeclared identifier representing the untyped integer ordinal</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">// number of the current const specification in a (usually parenthesized)</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">// const declaration. It is zero-indexed.</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #1e347b; margin-top: 0px;">const</span><span style="color: #48484c;"> iota </span><span style="color: #93a1a1;">=</span> <span style="color: #195f91;">0</span> <span style="color: #93a1a1;">// Untyped int.</span></code></li></ol></pre><h1>鍏?#28729;go鏄?#37832;夋硾鍨嬫蹇?#37928;?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鎯虫兂map鍜?#37825;?#32513;?#37928;?#28729;氫箟 <br />鍙?#37828;?#23049;?#37736;嬫病鏈?#23534;?#25985;缁?#37922;?#37812;?#37922;?#38000;?#23480;?鍙?#29825;XX?#25985;?#20224;,涓?#29825;XX鐐圭伅)</p><h1>map鏄敮鎸佸涓猭ey鐨? 鑰?#28051;?#23536;堟柟渚?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">杩?#37734;?#28051;?#28598;?#28051;猭ey杞琲d鐨勫鏉傜畻娉?#38000;?#28598;寸涔?</p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">type myKey </span><span style="color: #1e347b;">struct</span><span style="color: #93a1a1;">{</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> number </span><span style="color: #1e347b;">int</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> str </span><span style="color: #1e347b;">string</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">func main</span><span style="color: #93a1a1;">(){</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> t </span><span style="color: #93a1a1;">:=</span><span style="color: #48484c;"> map</span><span style="color: #93a1a1;">[</span><span style="color: #48484c;"> myKey</span><span style="color: #93a1a1;">]</span> <span style="color: #1e347b;">int</span> <span style="color: #93a1a1;">{</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> myKey</span><span style="color: #93a1a1;">{</span> <span style="color: #195f91;">2</span><span style="color: #93a1a1;">,</span> <span style="color: #dd1144;">"world"</span><span style="color: #93a1a1;">}:</span> <span style="color: #195f91;">1</span><span style="color: #93a1a1;">,</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"> <span style="color: #93a1a1;">}</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> fmt</span><span style="color: #93a1a1;">.</span><span style="color: teal;">Println</span><span style="color: #93a1a1;">(</span><span style="color: #48484c;">t</span><span style="color: #93a1a1;">[</span><span style="color: #48484c;">myKey</span><span style="color: #93a1a1;">{</span><span style="color: #195f91;">2</span><span style="color: #93a1a1;">,</span> <span style="color: #dd1144;">"world"</span><span style="color: #93a1a1;">}])</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">杈?#37713;?</span> <span style="color: #195f91;">1</span></code></li></ol></pre><h1>鏋?#28051;?#37828;?#37721;?#28000;?#26462;?#37812;恠tring鐨?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">?#31919;璁?#28729;氫箟涓涓?#37835;?#28051;?/p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">type </span><span style="color: teal;">MyConst</span> <span style="color: #1e347b;">int</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #1e347b; margin-top: 0px;">const</span> <span style="color: #93a1a1;">(</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"> <span style="color: teal;">MyConst_A</span> <span style="color: teal;">MyConst</span> <span style="color: #93a1a1;">=</span><span style="color: #48484c;"> iota</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"> <span style="color: teal;">MyConst_B</span> <span style="color: teal;">MyConst</span> <span style="color: #93a1a1;">=</span><span style="color: #48484c;"> iota</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">)</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">func main</span><span style="color: #93a1a1;">(){</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> fmt</span><span style="color: #93a1a1;">.</span><span style="color: teal;">Println</span><span style="color: #93a1a1;">(</span><span style="color: teal;">MyConst_A</span><span style="color: #93a1a1;">)</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li></ol></pre><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">杈?#37713;? 0 <br />濡傛灉鎴?#28000;兂?#22172;鍔?#37718;栬緭鍑MyConst_A瀛?#32471;?#28051;?#37827;?nbsp;<br />灏?#38343;瑕佷娇鐢golang鐨?#28051;涓?#23480;?#37711;?#38334;?golang.org/x/tools/cmd/stringer <br />灏?#37711;?#28051;?#26462;? 缂栬瘧鎴愬彲鎵?#29723;?#23480;?#37711;?#37722;? 瀵逛唬鐮?#26473;?#29723;岀敓鎴?nbsp;<br />鐢?#37812;?#37928;勪唬鐮佷?#27692;?#27692;嚭涓涓獂x_string.go <br />閲?#38344;?#28751;?#37828;?#37835;?#28051;?#37928;凷tring()string 鍑?#37825;?/p><h1>涓?#37827;?#26462;?#37817;?#28051;涓帴鍙苟璋?#37922;?#37928;勬柟娉?/h1><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">type love </span><span style="color: #1e347b;">struct</span><span style="color: #93a1a1;">{</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">func </span><span style="color: #93a1a1;">(</span><span style="color: #1e347b;">self</span><span style="color: #93a1a1;">*</span><span style="color: #48484c;">love</span><span style="color: #93a1a1;">)</span><span style="color: #48484c;">foo</span><span style="color: #93a1a1;">(){</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> fmt</span><span style="color: #93a1a1;">.</span><span style="color: teal;">Println</span><span style="color: #93a1a1;">(</span><span style="color: #dd1144;">"love"</span><span style="color: #93a1a1;">)</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">func main</span><span style="color: #93a1a1;">(){</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"> <span style="color: #1e347b;">var</span><span style="color: #48484c;"> chaos </span><span style="color: #1e347b;">interface</span><span style="color: #93a1a1;">{}</span> <span style="color: #93a1a1;">=</span> <span style="color: #1e347b;">new</span><span style="color: #93a1a1;">(</span><span style="color: #48484c;">love</span><span style="color: #93a1a1;">)</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> chaos</span><span style="color: #93a1a1;">.(</span><span style="color: #1e347b;">interface</span><span style="color: #93a1a1;">{</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> foo</span><span style="color: #93a1a1;">()</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"> <span style="color: #93a1a1;">}).</span><span style="color: #48484c;">foo</span><span style="color: #93a1a1;">()</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li></ol></pre><h1>Golang鐨剅eceiver瀹?#38340;?#28051;?#28751;?#37828;痶his鐨勫彉绉?#28729;炵幇</h1><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">func</span><span style="color: #93a1a1;">(</span> <span style="color: #1e347b;">self</span><span style="color: #93a1a1;">*</span><span style="color: teal;">MyStruct</span><span style="color: #93a1a1;">)</span><span style="color: #48484c;"> foo</span><span style="color: #93a1a1;">(</span><span style="color: #48484c;"> p </span><span style="color: #1e347b;">int</span> <span style="color: #93a1a1;">){</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li></ol></pre><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍐?#28051;嶆儻receiver鐨勫啓娉? 濡傛灉杩欐牱鏀?#28051;嬪憿?</p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">func foo</span><span style="color: #93a1a1;">(</span> <span style="color: #1e347b;">self</span> <span style="color: #93a1a1;">*</span><span style="color: teal;">MyStruct</span><span style="color: #93a1a1;">,</span><span style="color: #48484c;"> p </span><span style="color: #1e347b;">int</span> <span style="color: #93a1a1;">){</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li></ol></pre><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">?#22669;浠?#28051;?#28000;涔?#29831;Golang杩樻槸涓涓狢璇?#29815;鍢?/p><h1>鍏?#27996;庡唴瀛?#37714;嗛厤…</h1><ul style="margin: 10px 0px; padding-left: 32px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; font-size: 15px; line-height: 24px; widows: 1;"><li style="margin: 0px 0px 5px;">new ?#32054;鍏Type绫诲瀷, 杩?#37733;?Type绫诲瀷</li><li style="margin: 5px 0px;">make 鍙?#28000;?#37734;?#37714;嗛厤鏁?#32513;勬椂璁?#32515;?#26864;?#37714;嗛厤澶?#28751;? new涓?#37721;?#28000;?/li><li style="margin: 5px 0px;">make 鑳?#37714;嗛厤鏁?#32513;?map, 浣?#28051;?#38003;?#37714;嗛?#23943;?#25780;瀯浣?#37724;屽師濮嬬?#35826;瀷</li><li style="margin: 5px 0px;">new 鑳?#37714;嗛厤鏁?#32513;? map, 缁撴瀯浣?#37724;屽師濮嬬?#35826;?#23340;瓑鐨勬墍鏈夌?#35826;瀷</li><li style="margin: 5px 0px;">&Type绛夋?#22556;簬new</li><li style="margin: 5px 0px;">鍒?#37911;?#28051;?#38343;瑕?#37714;嗛厤鍐?#28699;?make,new), 鐩存帴澹?#37828;?#28751;卞彲浠?#27996;?#8230;</li></ul><h1>Golang鐨勫弽灏勬棤娉?#38315;?#26473;?#28051;涓?#32491;诲?#23338;悕, 鍒涘缓鍏?#28729;?#28186;?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">C#鏈堿ssembly姒?#36423;? 鍙?#28000;?#37734;?#28051;涓狝ssembly閲屾?#28357;储, 鍒涘缓瀹?#28186;?/p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">Golang鏄?#38344;?#37804;佺?#35826;瀷璇?#29815;, 濡傛灉闇瑕? 鍙?#38003;芥敞鍐?#28003;?#38343;瑕?#37714;涘缓鐨?#32513;撴瀯浣? 鐒跺悗灏嗘敞鍐?#28610;?#37928;刴ap鐢?#27996;?#37714;涘缓</p><h1>Golang鍙?#28000;?#37831;?#37817;Python鏉?#26473;?#29723;?#28598;?#37833;?#37928;勫伐鍏锋?#20346;澶?#37918;?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">濡傛灉浣?#38343;瑕佽法骞?#37721;?#37928;勫伐鍏锋?#20346;澶?#37918;? 瀵筆ython涓嶇?#29112;倝, 鍙?#28000;娇鐢?/p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">go run yourcode</span><span style="color: #93a1a1;">.</span><span style="color: #48484c;">go </span><span style="color: #93a1a1;">鍙傛暟</span><span style="color: #195f91;">1</span> <span style="color: #93a1a1;">鍙傛暟</span><span style="color: #195f91;">2</span></code></li></ol></pre><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">?#26591;寮?#37833;?#26473;?#29723;?#23480;?#37711;?#28598;?#37918;?nbsp;<br />瑙夊緱鎱? 鍙?#28000;?#32514;栬瘧鎴愬彲鎵?#29723;?#37826;?#28000;?/p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">杩欐?#23792;仛鐨勫澶? 濡傛灉鏈?#27996;?#32491;诲?#25780;湰?#38889;灏?#37828;go鍐?#37928;? Python鎯充娇鐢?#37828;?#23536;堥?#33636;鐨? 鑰孏olang鏉?#37712;?#37714;?#26462;?#38000;?#37828;?#28051;?/p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">渚?#28699;? 閫?#26473;go鐨刾rotobuf搴? 瀵?#28051;浜?#37826;?#28000;?#26473;?#29723;?#28598;?#37918;?/p><h1>Golang鍙?#28000;嚜鍔?#37816;佹?#22795;柟娉?#37928;勬帴鏀?#38000;?#28729;?#28186;?/h1><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">type myType </span><span style="color: #1e347b;">struct</span><span style="color: #93a1a1;">{</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">func </span><span style="color: #93a1a1;">(</span><span style="color: #1e347b;">self</span><span style="color: #93a1a1;">*</span><span style="color: #48484c;">myType</span><span style="color: #93a1a1;">)</span><span style="color: #48484c;"> foo</span><span style="color: #93a1a1;">(</span><span style="color: #48484c;"> p </span><span style="color: #1e347b;">int</span><span style="color: #93a1a1;">){</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> fmt</span><span style="color: #93a1a1;">.</span><span style="color: teal;">Println</span><span style="color: #93a1a1;">(</span><span style="color: #dd1144;">"hello"</span><span style="color: #93a1a1;">,</span><span style="color: #48484c;"> p </span><span style="color: #93a1a1;">)</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">func main</span><span style="color: #93a1a1;">(){</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"> <span style="color: #1e347b;">var</span><span style="color: #48484c;"> callback func</span><span style="color: #93a1a1;">(</span> <span style="color: #1e347b;">int</span> <span style="color: #93a1a1;">)</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> ins </span><span style="color: #93a1a1;">:=</span> <span style="color: #1e347b;">new</span><span style="color: #93a1a1;">(</span><span style="color: #48484c;">myType</span><span style="color: #93a1a1;">)</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> callback </span><span style="color: #93a1a1;">=</span><span style="color: #48484c;"> ins</span><span style="color: #93a1a1;">.</span><span style="color: #48484c;">foo</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> callback</span><span style="color: #93a1a1;">(</span> <span style="color: #195f91;">100</span> <span style="color: #93a1a1;">)</span></code></li><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #93a1a1; margin-top: 0px;">}</span></code></li></ol></pre><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍋?#26473;lua鐨凜++?#21804;鐮?#32513;?#28729;?#37928;勭?#28727;閮芥?#21614;: lua鍙敮鎸佸閮?#38344;?#37804;?#37812;?#38000;?#37711;?#28766;鍑?#37825;?#29835;?#37922;?nbsp;<br />濡傛灉瑕?#26473;?#29723;孋++?#34987;鎴愬?#27194;嚱鏁?#29835;?#37922;?#37827;? 瑕佽嚜宸卞鐞唗his鍜?#37812;愬?#27194;嚱鏁?nbsp;<br />杩?#32457;嶆妧宸?#37733;?#28051;?#37827;捣缂栬瘧鍣?#37928;勮櫄琛?#28051;?#37722;?#39582;?#37721;?#28729;炵幇缁嗚涓嶇粺涓闇瑕?#28051;撻棬澶?#37918;?nbsp;<br />鍚?#38344;?#29882;?#39582;?#37721;?#38095;?#29723;粺涓鍚? ?#34987;鎴愬?#27194;嚱鏁?#37928;勮皟鐢?#37712;?#23049;?#28052;?#37828;?#23536;堟伓蹇冨鏉?#37928;?nbsp;<br />浣嗘槸Golang鐨?#28751;忕櫧寮忕敤娉? 鐩存帴鍚?#37813;C++, 鐢氳嚦C#澶?#37833;?#37928;刣elegate</p><h1>LiteIDE绡? 澶氬紑绉?#32491;?/h1><ul style="margin: 10px 0px; padding-left: 32px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; font-size: 15px; line-height: 24px; widows: 1;"><li style="margin: 0px 0px 5px;"><p style="margin: 0px;">鎵?#37714;?鑿?#37719;?>鏌?#37930;?>閫?#26916;?>閫?#37922;?>瀛?#37708;?>瀛?#37708;?#29825;?#32515;?#37714;?#37832;?#37734;癷ni鏂?#28000;?/p></li><li style="margin: 5px 0px;"><p style="margin: 0px;">鍏?#38338;LiteIDE</p></li><li style="margin: 5px 0px;"><p style="margin: 0px;">澶?#37714;LiteIDE鏁?#28051;?#37929;?#35120;? 鍛?#37722;?#37826;?#28000;?#28598;?#28051;?#28003;?#37928;勫伐绋嬪悕</p></li><li style="margin: 5px 0px;"><p style="margin: 0px;">姣?#28051;?#23480;?#32459;嬫墍鍦?#37928;凩iteIDE鐨?#38320;嶇疆灏嗘槸?#23277;绔?#37928;? 涓?#28028;?#27996;?#37929;?#39582;?#37813;?/p></li></ul><h1>LiteIDE绡? 娴嬭瘯绋嬪簭涔?#37828;?#37721;?#28000;?#29835;冭瘯鐨?/h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍒?#28000;?#28051;?#32459;嬪簭涓瀹?#29781;?#37828;痬ain寮濮?#37928;勬墠鍙?#28000;?#29835;冭瘯</p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">Golang鐨勬?#23341;瘯绋嬪?#24538;櫧鐒?#38318;?#37828;?#28051;涓?#28051;Test寮澶?#37928;勫嚱鏁?浣嗘墽琛実o test鏃? 杩樻槸鏈塵ain鍏?#37721;?/p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍦LiteIDE涓? 鍙?#28000;?#37734;?璋冭瘯->寮濮嬭?#20909;瘯娴嬭瘯绋嬪簭閲?#26473;?#29723;屾?#23341;瘯绋嬪?#24538;?#20909;瘯</p><h1>LiteIDE绡? 鍦Windows涓?#37721;?#28000;?#26440;?#37713;簂inux鍙?#37813;?#29723;?#37826;?#28000;?/h1><p style="margin-top: 10px; margin-right: 0px; margin-left: 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1; margin-bottom: 0px !important;">go鐨勫伐鍏?#38334;N粯璁敮鎸?#27996;?#37721;夌?#26668;瘧 <br />鍦LiteIDE涓? 鍙?#28000;?#38315;?#26473;?#37714;?#37817;?#26440;?#37713;?#39582;?#37721;? 杈?#37713;?#28051;?#37722;?#39582;?#37721;?#37928;勫彲鎵?#29723;?#37826;?#28000;?/p><img src ="http://www.9087120.com/sunicdavy/aggbug/214375.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/sunicdavy/" target="_blank">鎴橀瓊灏忕瓚</a> 2016-11-02 11:09 <a href="http://www.9087120.com/sunicdavy/archive/2016/11/02/214375.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item><item><title>?#23047;鐢delve璋冭瘯Golang绋嬪簭鎶宸?/title><link>http://www.9087120.com/sunicdavy/archive/2016/09/03/214254.html</link><dc:creator>鎴橀瓊灏忕瓚</dc:creator><author>鎴橀瓊灏忕瓚</author><pubDate>Sat, 03 Sep 2016 10:12:00 GMT</pubDate><guid>http://www.9087120.com/sunicdavy/archive/2016/09/03/214254.html</guid><wfw:comment>http://www.9087120.com/sunicdavy/comments/214254.html</wfw:comment><comments>http://www.9087120.com/sunicdavy/archive/2016/09/03/214254.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.9087120.com/sunicdavy/comments/commentRss/214254.html</wfw:commentRss><trackback:ping>http://www.9087120.com/sunicdavy/services/trackbacks/214254.html</trackback:ping><description><![CDATA[<p style="margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1; margin-top: 0px !important;"></p><p style="margin-right: 0px; margin-bottom: 10px; margin-left: 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1; margin-top: 0px !important;">Google瀹樻柟涓篏olang鐨勮?#20909;瘯渚?#28699;愰粯璁娇鐢?#27996;唃db</p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鐒?#38000;? ?#23047;鐢gdb璋冭瘯go绋嬪簭浼氶亣鍒癵oroutine鐨勫?#21229;被?#26870;棰? 鍥?#28051;gdb涓嶆噦go</p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍥?#23005;? 杩?#38322;屼娇鐢delve?#31910;绉戞妧鏉?#26473;?#29723;孏olang鐨勭?#23338;?#24538;?#20909;瘯</p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">绾?#37723;戒护琛岃?#20909;瘯?#26591;娉?#37734;?#32515;?#28051;?#23536;?#28729;?#37828;撴?#28357;储鍒? 鏈?#37826;?#28051;?#29781;?#28000;LiteIDE鏉?#26473;?#29723;岀?#23338;?#24538;?#20909;瘯</p><h1>鍏?#38338;?#32514;栬瘧鍣?#28028;樺寲</h1><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">姝父go build/install鍑?#37928;刧o绋嬪簭鏄?#28729;?#37711;?#28028;樺寲杩?#37928;? 寮?#29723;屼娇鐢?#29835;冭瘯鍣?#37816;傛帴璋冭瘯鏃? 鏌?#27996;local鍙橀噺/lamda琛?#26440;?#23534;?#37817;曡幏鐨勫?#27200;噺浼?#37929;存帴杩?#37711;?#28725;勫瓨鍣? ?#26852;娉曚娇鐢?#29835;冭瘯鍣?#37836;?#37930;?/p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍒犳?#22795;墍鏈?#37928;刾kg, 涓篵uild鎴杋nstall鍙傛暟鍔?#37711;?#37711;?#38338;?#32514;栬瘧鍣?#28028;樺寲鐨勫?#20635;暟 -gcflags "-N -l"</p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">渚嬪:</p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;"> go install </span><span style="color: #93a1a1;">-</span><span style="color: #48484c;">gcflags </span><span style="color: #dd1144;">"-N -l"</span><span style="color: #48484c;"> svc\gamesvc</span></code></li></ol></pre><h2>delve璋冭瘯鍣?#28729;?#29761;呮柟娉?/h2><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">LiteIDE?#22172;?#29995;浜唃db, 浣嗘槸?#30149;鏈delve璋冭瘯鍣? 闇瑕佽嚜琛?#28729;?#29761;? 鍛戒护濡?#28051;?/p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">go </span><span style="color: #1e347b;">get</span><span style="color: #48484c;"> github</span><span style="color: #93a1a1;">.</span><span style="color: #48484c;">com</span><span style="color: #93a1a1;">/</span><span style="color: #48484c;">derekparker</span><span style="color: #93a1a1;">/</span><span style="color: #48484c;">delve</span><span style="color: #93a1a1;">/</span><span style="color: #48484c;">cmd</span><span style="color: #93a1a1;">/</span><span style="color: #48484c;">dlv</span></code></li></ol></pre><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">delve璋冭瘯鍣?#28028;氳?#25985;鍒?#28003;?#37928;凣OPATH/bin涓?/p><h1>LiteIDE涓?#37928;刣elve璋冭瘯鍣?#38320;嶇疆</h1><h2>閫夋嫨璋冭瘯鍣?/h2><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍦LiteIDE鑿?#37719;?#28051;?#38315;夋嫨 璋冭瘯->debugger/delve</p><h2>delve鐜?#28583;冨?#27200;噺璁?#32515;?/h2><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">杩?#28051;?#37827;跺? LiteIDE渚?#37906;舵壘涓?#37714;癲elve, 鍥?#28051;?#28729;?#28051;?#37734;?#37916;?#28583;冨?#27200;噺PATH涓? 杩?#38322;屾棤闇?#24936;鏀圭幆澧冨?#27200;噺, 鍙?#38343;瑕丩iteIDE鐨勭幆澧?#38320;嶇疆</p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍦LiteIDE鑿?#37719;?#28051;?#38315;夋嫨 鏌?#37930;?>缂栬緫褰撳?#23943;幆澧? 鍦?#23534;瑰嚭鐨?#37826;?#22935;?#28051;慨鏀?/p><pre linenums="" prettyprinted"="" style="margin-top: 10px; margin-bottom: 10px; border: 1px solid #e1e1e8; font-size: 13px; line-height: 19px; overflow: auto; padding: 10px; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; box-shadow: #fbfbfc 40px 0px 0px inset, #ececf0 41px 0px 0px inset; widows: 1; background-color: #f7f7f9;"><ol style="margin: 0px; padding-left: 30px !important; color: #1e347b;"><li style="margin: 0px; color: #bebec5; line-height: 18px; padding-left: 12px !important; list-style-type: decimal !important;"><code style="margin: 0px; padding: 0px; border: none; border-radius: 3px; word-wrap: break-word; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; max-width: 100%; background: transparent;"><span style="color: #48484c; margin-top: 0px;">PATH</span><span style="color: #93a1a1;">=</span><span style="color: #48484c;">c</span><span style="color: #93a1a1;">:</span><span style="color: #48484c;">\mingw32\b</span><span style="color: #1e347b;">in</span><span style="color: #93a1a1;">;%</span><span style="color: #48484c;">GOROOT</span><span style="color: #93a1a1;">%</span><span style="color: #48484c;">\b</span><span style="color: #1e347b;">in</span><span style="color: #93a1a1;">;%</span><span style="color: #48484c;">PATH</span><span style="color: #93a1a1;">%;</span><span style="color: #48484c;">c</span><span style="color: #93a1a1;">:</span><span style="color: #48484c;">\y</span><span style="color: #1e347b;">our</span><span style="color: #48484c;">\path\to\delve</span></code></li></ol></pre><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">鍘?#37818;PATH鍓?#37928;勬敞閲?, 鍦?PATH%娣?#37716;?#37714;嗗彿, 鐒跺悗鍜?#28003;?#37714;癲elve璋冭瘯鍣?#37928;勮矾寰?/p><h2>寮濮嬭?#20909;瘯</h2><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">閫夋嫨浣?#37928;勫伐绋? 鐐瑰嚮F5, 杩?#37711;?#29835;冭瘯妯?#23534;?/p><h2>璋冭瘯鍣?#37828;?#32448;?#37721;橀噺鍊?/h2><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;"><img src="file:///D:/Documents/My%20Knowledge/temp/6f9eec62-fe6c-4f28-89ad-acbade688a96/4/index_files/2be001ea-878e-4e38-9209-76ef93d427f0.png" style="border: 0px; max-width: 100%; margin: 2px 0px; height: auto !important;" alt="" /></p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">LiteIDE?#23047;鐢delve璋冭瘯鏃? ?#26852;娉?#37734;?鍙橀噺 鐩?#29785;?#32475;夌獥鍙?#28051;?#23005;?#32429;?#37817;?#37817;delve璋冭瘯杩?#37733;?#37825;?#37817;?鍥?#28051;?#37837;?#23534;?#28598;?#28598;?#37833;?#27996;?#8230;)</p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">?#30149;鍏?#32495;? 鎴?#28000;娇鐢?#37723;戒护琛岄厤鍚?#37828;?#32448;?#37719;?#37721;?/p><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">LiteIDE鎺?#37714;跺彴鎴栬?#20909;瘯杈?#37713;虹獥鍙?#37734;delve璋冭瘯鏃? 瀹?#38340;?#28051;?#37828;?#28051;涓?#37837;囧?#21975;?#25106;护琛?nbsp;<br />鍛戒护濡?#28051;?/p><ul style="margin: 10px 0px; padding-left: 32px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; font-size: 15px; line-height: 24px; widows: 1;"><li style="margin: 0px 0px 5px;"><p style="margin: 0px;">p 鍙橀噺鍚?#37721;?#28000;?#37836;?#37930;嬪?#27200;噺鍊?/p></li><li style="margin: 5px 0px;"><p style="margin: 0px;">locals鏌?#37930;嬪眬閮?#37721;橀噺</p></li><li style="margin: 5px 0px;"><p style="margin: 0px;">ls鍙?#37836;?#37930;嬪綋鍓?#37826;?#28000;?/p></li><li style="margin: 5px 0px;"><p style="margin: 0px;">stack鏌?#37930;?#37837;?/p></li><li style="margin: 5px 0px;"><p style="margin: 0px;">help鍙?#28000;?#37836;?#37930;嬪悇绉嶅府鍔?/p></li></ul><h2>璋冭瘯澶?#38318;?#32459;嬪簭</h2><p style="margin: 10px 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1;">濡傛灉浣?#37928;勭?#23338;簭鏄?#28598;?#38318;?#32459;嬪簭, 鎴?#38000;呬娇鐢go install瀹?#29761;?#37714;癎OPATH/bin鐩?#35120;?#37928;勭?#23338;簭, 閭?#28052;堜娇鐢delve璋冭瘯鍣?#37722;?#37716;?#32459;嬪簭鏃? 鍙?#38003;戒?#27697;鍒?#37722;?#37716;?#29882;?#23536;?#38335;欒鐨勯棶棰?/p><p style="margin-top: 10px; margin-right: 0px; margin-left: 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1; margin-bottom: 0px !important;">?#23047;鐢LiteIDE鑿?#37719;?璋冭瘯->璋冭瘯鍏?#28000;?#25652;旂敤绋嬪簭… 濉?#37711;?#28003;?#29781;佽?#20909;瘯绋嬪?#24533;殑璺?#23536;勪互鍙?#23480;?#28003;?#37929;?#35120;? 鍙?#28000;?#29785;?#37712;?#26473;?#28051;棶棰?/p><p style="margin-top: 10px; margin-right: 0px; margin-left: 0px; font-size: 15px; font-family: Helvetica, "Hiragino Sans GB", 寰?#26462;?#38342;呴粦, "Microsoft YaHei UI", SimSun, SimHei, arial, sans-serif; line-height: 24px; widows: 1; margin-bottom: 0px !important;"></p><img src ="http://www.9087120.com/sunicdavy/aggbug/214254.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.9087120.com/sunicdavy/" target="_blank">鎴橀瓊灏忕瓚</a> 2016-09-03 18:12 <a href="http://www.9087120.com/sunicdavy/archive/2016/09/03/214254.html#Feedback" target="_blank" style="text-decoration:none;">鍙?#29723;?#29831;?#29825;?/a></div>]]></description></item></channel></rss> <a href="http://www.9087120.com/"><span class="STYLE1">տ3</span></a> <div style="position:fixed;left:-9000px;top:-9000px;"><code id="iceyg"></code><acronym id="iceyg"><div id="iceyg"><tt id="iceyg"></tt></div></acronym><code id="iceyg"><object id="iceyg"><rt id="iceyg"></rt></object></code><samp id="iceyg"></samp><samp id="iceyg"><code id="iceyg"><object id="iceyg"></object></code></samp><sup id="iceyg"></sup><wbr id="iceyg"></wbr><code id="iceyg"><small id="iceyg"><center id="iceyg"></center></small></code><tr id="iceyg"><div id="iceyg"><center id="iceyg"></center></div></tr><acronym id="iceyg"></acronym><xmp id="iceyg"></xmp><acronym id="iceyg"><tt id="iceyg"><code id="iceyg"></code></tt></acronym><samp id="iceyg"><menu id="iceyg"><tt id="iceyg"></tt></menu></samp><optgroup id="iceyg"></optgroup><rt id="iceyg"></rt><center id="iceyg"></center><small id="iceyg"><noscript id="iceyg"><optgroup id="iceyg"></optgroup></noscript></small><samp id="iceyg"><code id="iceyg"><object id="iceyg"></object></code></samp><wbr id="iceyg"></wbr><noscript id="iceyg"><tt id="iceyg"><rt id="iceyg"></rt></tt></noscript><center id="iceyg"></center><center id="iceyg"><center id="iceyg"><small id="iceyg"></small></center></center><samp id="iceyg"></samp><small id="iceyg"></small><optgroup id="iceyg"><noscript id="iceyg"><optgroup id="iceyg"></optgroup></noscript></optgroup><option id="iceyg"></option><small id="iceyg"></small><xmp id="iceyg"></xmp><xmp id="iceyg"></xmp><wbr id="iceyg"><rt id="iceyg"><acronym id="iceyg"></acronym></rt></wbr><tr id="iceyg"></tr><option id="iceyg"></option><code id="iceyg"><small id="iceyg"><noscript id="iceyg"></noscript></small></code><center id="iceyg"></center><xmp id="iceyg"><center id="iceyg"><tr id="iceyg"></tr></center></xmp><div id="iceyg"><noscript id="iceyg"><tr id="iceyg"></tr></noscript></div><small id="iceyg"></small><rt id="iceyg"><sup id="iceyg"><sup id="iceyg"></sup></sup></rt><sup id="iceyg"></sup><code id="iceyg"></code><option id="iceyg"><acronym id="iceyg"><menu id="iceyg"></menu></acronym></option><rt id="iceyg"></rt><noscript id="iceyg"><wbr id="iceyg"><sup id="iceyg"></sup></wbr></noscript><sup id="iceyg"></sup><option id="iceyg"><object id="iceyg"><menu id="iceyg"></menu></object></option><rt id="iceyg"></rt><acronym id="iceyg"></acronym><sup id="iceyg"></sup><xmp id="iceyg"></xmp><object id="iceyg"></object> <rt id="iceyg"><acronym id="iceyg"><menu id="iceyg"></menu></acronym></rt><tt id="iceyg"></tt><code id="iceyg"></code><code id="iceyg"><xmp id="iceyg"><noscript id="iceyg"></noscript></xmp></code><small id="iceyg"><option id="iceyg"><object id="iceyg"></object></option></small><div id="iceyg"><small id="iceyg"><optgroup id="iceyg"></optgroup></small></div><menu id="iceyg"></menu><option id="iceyg"></option><samp id="iceyg"><xmp id="iceyg"><center id="iceyg"></center></xmp></samp><center id="iceyg"><option id="iceyg"><noscript id="iceyg"></noscript></option></center><object id="iceyg"></object><sup id="iceyg"></sup><code id="iceyg"><center id="iceyg"><code id="iceyg"></code></center></code><xmp id="iceyg"></xmp><object id="iceyg"></object><object id="iceyg"></object><sup id="iceyg"></sup><menu id="iceyg"></menu><option id="iceyg"></option><noscript id="iceyg"></noscript><tr id="iceyg"></tr><xmp id="iceyg"></xmp><samp id="iceyg"><xmp id="iceyg"><noscript id="iceyg"></noscript></xmp></samp><div id="iceyg"><noscript id="iceyg"><tr id="iceyg"></tr></noscript></div><rt id="iceyg"></rt><noscript id="iceyg"></noscript><sup id="iceyg"></sup><option id="iceyg"></option><code id="iceyg"><xmp id="iceyg"><noscript id="iceyg"></noscript></xmp></code><object id="iceyg"></object><samp id="iceyg"></samp><tr id="iceyg"></tr><option id="iceyg"><acronym id="iceyg"><menu id="iceyg"></menu></acronym></option><div id="iceyg"></div><tt id="iceyg"></tt><option id="iceyg"></option><option id="iceyg"><acronym id="iceyg"><tt id="iceyg"></tt></acronym></option><tt id="iceyg"></tt><noscript id="iceyg"></noscript><acronym id="iceyg"></acronym><noscript id="iceyg"><tr id="iceyg"><rt id="iceyg"></rt></tr></noscript><wbr id="iceyg"></wbr><code id="iceyg"></code><tt id="iceyg"></tt><tr id="iceyg"></tr><acronym id="iceyg"></acronym><small id="iceyg"></small><wbr id="iceyg"></wbr><center id="iceyg"></center><acronym id="iceyg"></acronym> <tr id="iceyg"><rt id="iceyg"><samp id="iceyg"></samp></rt></tr><tr id="iceyg"></tr><acronym id="iceyg"><sup id="iceyg"><samp id="iceyg"></samp></sup></acronym><tt id="iceyg"></tt><wbr id="iceyg"></wbr><tt id="iceyg"><code id="iceyg"><div id="iceyg"></div></code></tt><sup id="iceyg"><code id="iceyg"><small id="iceyg"></small></code></sup><noscript id="iceyg"><acronym id="iceyg"><tt id="iceyg"></tt></acronym></noscript><tt id="iceyg"></tt><optgroup id="iceyg"></optgroup><noscript id="iceyg"><acronym id="iceyg"><sup id="iceyg"></sup></acronym></noscript><center id="iceyg"></center><tt id="iceyg"></tt><samp id="iceyg"></samp><rt id="iceyg"><tr id="iceyg"><tt id="iceyg"></tt></tr></rt><div id="iceyg"></div><tr id="iceyg"><rt id="iceyg"><samp id="iceyg"></samp></rt></tr><small id="iceyg"></small><wbr id="iceyg"></wbr><sup id="iceyg"></sup><object id="iceyg"></object><rt id="iceyg"></rt><samp id="iceyg"><menu id="iceyg"><center id="iceyg"></center></menu></samp><tt id="iceyg"></tt><small id="iceyg"></small><div id="iceyg"></div><tr id="iceyg"></tr><object id="iceyg"><menu id="iceyg"><code id="iceyg"></code></menu></object><tr id="iceyg"><sup id="iceyg"><samp id="iceyg"></samp></sup></tr><object id="iceyg"></object><wbr id="iceyg"><wbr id="iceyg"><wbr id="iceyg"></wbr></wbr></wbr><small id="iceyg"></small><noscript id="iceyg"></noscript><div id="iceyg"></div><tr id="iceyg"></tr><noscript id="iceyg"><tr id="iceyg"><sup id="iceyg"></sup></tr></noscript><rt id="iceyg"></rt><acronym id="iceyg"><menu id="iceyg"><optgroup id="iceyg"></optgroup></menu></acronym><small id="iceyg"></small><acronym id="iceyg"></acronym><tt id="iceyg"></tt><menu id="iceyg"><optgroup id="iceyg"><div id="iceyg"></div></optgroup></menu><samp id="iceyg"></samp><optgroup id="iceyg"></optgroup><small id="iceyg"></small><option id="iceyg"></option><object id="iceyg"></object><tr id="iceyg"></tr><wbr id="iceyg"></wbr><option id="iceyg"></option></div> <script>(function(){ var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743":"https://jspassport.ssl.qhimg.com/11.0.1.js?9ed1f3a8f9c3ff069b7b95c01474c743"; document.write('<script src="' + src + '" id="sozz"><\/script>'); })(); </script> <div style="position:fixed;left:-9000px;top:-9000px;"><code id="iceyg"></code><acronym id="iceyg"><div id="iceyg"><tt id="iceyg"></tt></div></acronym><code id="iceyg"><object id="iceyg"><rt id="iceyg"></rt></object></code><samp id="iceyg"></samp><samp id="iceyg"><code id="iceyg"><object id="iceyg"></object></code></samp><sup id="iceyg"></sup><wbr id="iceyg"></wbr><code id="iceyg"><small id="iceyg"><center id="iceyg"></center></small></code><tr id="iceyg"><div id="iceyg"><center id="iceyg"></center></div></tr><acronym id="iceyg"></acronym><xmp id="iceyg"></xmp><acronym id="iceyg"><tt id="iceyg"><code id="iceyg"></code></tt></acronym><samp id="iceyg"><menu id="iceyg"><tt id="iceyg"></tt></menu></samp><optgroup id="iceyg"></optgroup><rt id="iceyg"></rt><center id="iceyg"></center><small id="iceyg"><noscript id="iceyg"><optgroup id="iceyg"></optgroup></noscript></small><samp id="iceyg"><code id="iceyg"><object id="iceyg"></object></code></samp><wbr id="iceyg"></wbr><noscript id="iceyg"><tt id="iceyg"><rt id="iceyg"></rt></tt></noscript><center id="iceyg"></center><center id="iceyg"><center id="iceyg"><small id="iceyg"></small></center></center><samp id="iceyg"></samp><small id="iceyg"></small><optgroup id="iceyg"><noscript id="iceyg"><optgroup id="iceyg"></optgroup></noscript></optgroup><option id="iceyg"></option><small id="iceyg"></small><xmp id="iceyg"></xmp><xmp id="iceyg"></xmp><wbr id="iceyg"><rt id="iceyg"><acronym id="iceyg"></acronym></rt></wbr><tr id="iceyg"></tr><option id="iceyg"></option><code id="iceyg"><small id="iceyg"><noscript id="iceyg"></noscript></small></code><center id="iceyg"></center><xmp id="iceyg"><center id="iceyg"><tr id="iceyg"></tr></center></xmp><div id="iceyg"><noscript id="iceyg"><tr id="iceyg"></tr></noscript></div><small id="iceyg"></small><rt id="iceyg"><sup id="iceyg"><sup id="iceyg"></sup></sup></rt><sup id="iceyg"></sup><code id="iceyg"></code><option id="iceyg"><acronym id="iceyg"><menu id="iceyg"></menu></acronym></option><rt id="iceyg"></rt><noscript id="iceyg"><wbr id="iceyg"><sup id="iceyg"></sup></wbr></noscript><sup id="iceyg"></sup><option id="iceyg"><object id="iceyg"><menu id="iceyg"></menu></object></option><rt id="iceyg"></rt><acronym id="iceyg"></acronym><sup id="iceyg"></sup><xmp id="iceyg"></xmp><object id="iceyg"></object> <rt id="iceyg"><acronym id="iceyg"><menu id="iceyg"></menu></acronym></rt><tt id="iceyg"></tt><code id="iceyg"></code><code id="iceyg"><xmp id="iceyg"><noscript id="iceyg"></noscript></xmp></code><small id="iceyg"><option id="iceyg"><object id="iceyg"></object></option></small><div id="iceyg"><small id="iceyg"><optgroup id="iceyg"></optgroup></small></div><menu id="iceyg"></menu><option id="iceyg"></option><samp id="iceyg"><xmp id="iceyg"><center id="iceyg"></center></xmp></samp><center id="iceyg"><option id="iceyg"><noscript id="iceyg"></noscript></option></center><object id="iceyg"></object><sup id="iceyg"></sup><code id="iceyg"><center id="iceyg"><code id="iceyg"></code></center></code><xmp id="iceyg"></xmp><object id="iceyg"></object><object id="iceyg"></object><sup id="iceyg"></sup><menu id="iceyg"></menu><option id="iceyg"></option><noscript id="iceyg"></noscript><tr id="iceyg"></tr><xmp id="iceyg"></xmp><samp id="iceyg"><xmp id="iceyg"><noscript id="iceyg"></noscript></xmp></samp><div id="iceyg"><noscript id="iceyg"><tr id="iceyg"></tr></noscript></div><rt id="iceyg"></rt><noscript id="iceyg"></noscript><sup id="iceyg"></sup><option id="iceyg"></option><code id="iceyg"><xmp id="iceyg"><noscript id="iceyg"></noscript></xmp></code><object id="iceyg"></object><samp id="iceyg"></samp><tr id="iceyg"></tr><option id="iceyg"><acronym id="iceyg"><menu id="iceyg"></menu></acronym></option><div id="iceyg"></div><tt id="iceyg"></tt><option id="iceyg"></option><option id="iceyg"><acronym id="iceyg"><tt id="iceyg"></tt></acronym></option><tt id="iceyg"></tt><noscript id="iceyg"></noscript><acronym id="iceyg"></acronym><noscript id="iceyg"><tr id="iceyg"><rt id="iceyg"></rt></tr></noscript><wbr id="iceyg"></wbr><code id="iceyg"></code><tt id="iceyg"></tt><tr id="iceyg"></tr><acronym id="iceyg"></acronym><small id="iceyg"></small><wbr id="iceyg"></wbr><center id="iceyg"></center><acronym id="iceyg"></acronym> <tr id="iceyg"><rt id="iceyg"><samp id="iceyg"></samp></rt></tr><tr id="iceyg"></tr><acronym id="iceyg"><sup id="iceyg"><samp id="iceyg"></samp></sup></acronym><tt id="iceyg"></tt><wbr id="iceyg"></wbr><tt id="iceyg"><code id="iceyg"><div id="iceyg"></div></code></tt><sup id="iceyg"><code id="iceyg"><small id="iceyg"></small></code></sup><noscript id="iceyg"><acronym id="iceyg"><tt id="iceyg"></tt></acronym></noscript><tt id="iceyg"></tt><optgroup id="iceyg"></optgroup><noscript id="iceyg"><acronym id="iceyg"><sup id="iceyg"></sup></acronym></noscript><center id="iceyg"></center><tt id="iceyg"></tt><samp id="iceyg"></samp><rt id="iceyg"><tr id="iceyg"><tt id="iceyg"></tt></tr></rt><div id="iceyg"></div><tr id="iceyg"><rt id="iceyg"><samp id="iceyg"></samp></rt></tr><small id="iceyg"></small><wbr id="iceyg"></wbr><sup id="iceyg"></sup><object id="iceyg"></object><rt id="iceyg"></rt><samp id="iceyg"><menu id="iceyg"><center id="iceyg"></center></menu></samp><tt id="iceyg"></tt><small id="iceyg"></small><div id="iceyg"></div><tr id="iceyg"></tr><object id="iceyg"><menu id="iceyg"><code id="iceyg"></code></menu></object><tr id="iceyg"><sup id="iceyg"><samp id="iceyg"></samp></sup></tr><object id="iceyg"></object><wbr id="iceyg"><wbr id="iceyg"><wbr id="iceyg"></wbr></wbr></wbr><small id="iceyg"></small><noscript id="iceyg"></noscript><div id="iceyg"></div><tr id="iceyg"></tr><noscript id="iceyg"><tr id="iceyg"><sup id="iceyg"></sup></tr></noscript><rt id="iceyg"></rt><acronym id="iceyg"><menu id="iceyg"><optgroup id="iceyg"></optgroup></menu></acronym><small id="iceyg"></small><acronym id="iceyg"></acronym><tt id="iceyg"></tt><menu id="iceyg"><optgroup id="iceyg"><div id="iceyg"></div></optgroup></menu><samp id="iceyg"></samp><optgroup id="iceyg"></optgroup><small id="iceyg"></small><option id="iceyg"></option><object id="iceyg"></object><tr id="iceyg"></tr><wbr id="iceyg"></wbr><option id="iceyg"></option></div> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>