i n i m p o r t ( " f m t " " l o g " " n e t / h t t p " ) f u n c m a i n ( ) { h t t p . H a n d l e F u n c ( " / h e l l o " , h a n d l e H e l l o ) f m t . P r i n t l n ( " s e r v i n g o n h t t p : / / l o c a l h o s t : 8 0 8 0 / h e l l o " ) l o g . F a t a l ( h t t p . L i s t e n A n d S e r v e ( " l o c a l h o s t : 8 0 8 0 " , n i l ) ) } f u n c h a n d l e H e l l o ( w h t t p . R e s p o n s e W r i t e r , r e q * h t t p . R e q u e s t ) { l o g . P r i n t l n ( " s e r v i n g " , r e q . U R L ) f m t . F p r i n t l n ( w , " H e l l o , 世界! " ) } Run