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 ( | |
"labix.org/v2/mgo" | |
"html/template" | |
"net/http" | |
"log" | |
"./signup" | |
) |
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
// This is a dead simple wrapper that can have setuid set on it so that | |
// the sudo helper is run as root. It is expected to run in the same CWD | |
// as the actual Ruby sudo helper. Any arguments to this script are forwarded | |
// to the Ruby sudo helper script. | |
package main | |
import ( | |
"fmt" | |
"os" | |
"path/filepath" |
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
// This is a dead simple wrapper that can have setuid set on it so that | |
// the sudo helper is run as root. It is expected to run in the same CWD | |
// as the actual Ruby sudo helper. Any arguments to this script are forwarded | |
// to the Ruby sudo helper script. | |
package main | |
import ( | |
"log" | |
"os" | |
"path/filepath" |