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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Dosa Diner</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="stylesheets/dosasite.css"> | |
</head> | |
<body> |
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
body { | |
background-color: #C2A7F2; | |
font-family: sans-serif; | |
} | |
h1 { | |
color: #2A1959; | |
border-bottom: 2px solid #2A1959; | |
} | |
h2 { | |
color: #474B94; |
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 ( | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
) | |
func main() { |
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
[core] | |
repositoryformatversion = 0 | |
filemode = false | |
bare = false | |
logallrefupdates = true | |
symlinks = false | |
ignorecase = true | |
hideDotFiles = dotGitOnly | |
[remote "origin"] | |
url = https://github.com/joshsoftware/golang-challenge.git |
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
###Francesc Campoy Flores from Google | |
During my long flight back to San Francisco I had the time to work on the Go challenge. Congrats on the organization! The problem was fun to solve and I'm sure people will learn a lot from it. | |
###Others | |
1. Thank you for the challenge. It was fun and an awesome "excuse" to read through some golang source code such as encode/json and image/png. | |
2. I had a great time working on this. I got a great excuse to browse parts of the standard library I hadn't visited before. I really appreciate the initiative that you guys are taking with this. |
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 ( | |
"fmt" | |
"net/http" | |
"github.com/google/go-github/github" | |
"golang.org/x/oauth2" | |
githuboauth "golang.org/x/oauth2/github" | |
"html/template" |
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 mytext | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func init() { | |
http.HandleFunc("/", handler) | |
} |
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
# This is a comment | |
# application is mandatory | |
application: helloworld | |
# version is mandatory | |
version: 1-0 | |
# runtime is mandatory | |
runtime: go |
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 "fmt" | |
func main() { | |
fmt.Println("Hello, world.") | |
} |
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
type My_Struct_Name struct { | |
X int | |
Y string | |
} |
OlderNewer