This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call pathogen#infect() | |
syntax enable | |
filetype plugin on | |
set number | |
let g:go_disable_autoinstall = 0 | |
let g:neocomplete#enable_at_startup = 1 | |
colorscheme molokai | |
set guifont=Consolas:h10:cANSI | |
nmap <F3> :NERDTreeToggle<CR> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"http" | |
) | |
func main() { | |
http.Handle("/foo/", http.StripPrefix("/foo", http.FileServer(http.Dir("/xyz/foo/")))) | |
http.ListenAndServe(":6543", nil) | |
} |