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 ( | |
"bytes" | |
"fmt" | |
"os" | |
"os/exec" | |
"regexp" | |
) |
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 example | |
import "errors" | |
type Movie struct { | |
TotalTime int `json:"total_time"` | |
CurrentTime int `json:"current_time"` | |
IsPlaying bool `json:"is_playing"` | |
} |
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
#!/usr/bin/perl | |
# This script can be used to see the size of each Go package | |
# in the JavaScript file complied by GopherJS. | |
# | |
# Run: | |
# | |
# ./analyze-gopherjs client.js | |
# | |
# to analyze client.js file, or: |