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 ( | |
"encoding/json" | |
"database/sql" | |
) | |
// JSONScanner scans a column into a map. | |
type JSONScanner struct { | |
Key string |
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
import java.io.IOException; | |
import javax.servlet.http.HttpServlet | |
import com.google.apphosting.api.ApiProxy; | |
import com.google.apphosting.api.ApiProxy.Environment; | |
class Plain < HttpServlet | |
def doGet(req, resp); throws IOException | |
env = ApiProxy.getCurrentEnvironment | |
raw_ver = env.getVersionId | |
version = raw_ver.substring 0, raw_ver.lastIndexOf(".") |