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 ( | |
"database/sql" | |
"encoding/json" | |
"errors" | |
"fmt" | |
"log" | |
"net/http" | |
"time" |
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 ( | |
"encoding/json" | |
"log" | |
"net/http" | |
"reflect" | |
"time" | |
"github.com/gorilla/context" |
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
@echo off | |
@rem \"%stPath%\" : Path to Sublime Text installation dir. | |
@rem %UserEntry%: Key name for the registry entry. | |
@rem %UserMenuText% : Context menu text. Set your preferred menu text (e.g.: translate to your language). | |
@rem %AdminEntry%: Key name for the registry entry. | |
@rem %AdminMenuText% : Context menu text. Set your preferred menu text for administrator privilege (e.g.: translate to your language). | |
SET stPath=%~dp0sublime_text.exe | |
SET UserEntry=Sublime Text | |
SET AdminEntry=Sublime Text As Admin |
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 | |
// run from the command line as: | |
// go test -bench=".* | |
import ( | |
"testing" | |
) | |
func BenchmarkJSON(b *testing.B) { |
NewerOlder