level, err := leveldb.Open("rogueMasterDB", &db.Options{})
if err != nil {
l.Println("levelDB open error", err)
r.Error(400)
}
defer level.Close()
versionId := "1"
This file contains hidden or 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
checkout: | |
post: | |
- rm -rf $HOME/.go_workspace/src/github.com/kyokomi/* | |
- mkdir -p $HOME/.go_workspace/src/github.com/kyokomi | |
- ln -snf $HOME/$CIRCLE_PROJECT_REPONAME $HOME/.go_workspace/src/github.com/kyokomi |
This file contains hidden or 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
[{"author":"Pete Hunt","text":"Hey there!"}] |
This file contains hidden or 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 ( | |
"log" | |
"fmt" | |
) | |
//go:generate go-bindata data/ | |
func main () { |
This file contains hidden or 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
#include "MD5.h" | |
#include <string> | |
MD5::MD5() | |
{ | |
//nothing | |
return; | |
} |
This file contains hidden or 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
// | |
// GLViewUtil.h | |
// | |
// Created by kyokomi on 2014/10/28. | |
// | |
// | |
#ifndef KyokomiDemo_GLViewUtil_h | |
#define KyokomiDemo_GLViewUtil_h |
This file contains hidden or 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 ( | |
"fmt" | |
"unicode/utf8" | |
) | |
func main() { | |
hoges := []string{ | |
"Hello, playground", |
https://github.com/go-xorm/xorm
$ go get github.com/go-xorm/xorm
https://github.com/go-martini/martini
https://github.com/martini-contrib/sessions
sessionsのmoduleが必要
$ go get github.com/martini-contrib/sessions