Skip to content

Instantly share code, notes, and snippets.

@dgrijalva
Created April 3, 2013 01:33
Show Gist options
  • Save dgrijalva/5297752 to your computer and use it in GitHub Desktop.
Save dgrijalva/5297752 to your computer and use it in GitHub Desktop.
Testing resulting sizes based on imports
package main
import (
"github.com/fitstar/falcore"
_ "github.com/fitstar/falcore/compression"
_ "github.com/fitstar/falcore/etag"
_ "github.com/fitstar/falcore/upstream"
_ "github.com/fitstar/falcore/static_file"
)
func main(){
_ = falcore.NewServer(80, nil)
}
$ ls -l
total 14696
-rwxr-xr-x 1 dgrijalva staff 3757320 Apr 2 18:31 lots
-rw-r--r--@ 1 dgrijalva staff 268 Apr 2 18:31 lots.go
-rwxr-xr-x 1 dgrijalva staff 3753224 Apr 2 18:29 single
-rw-r--r--@ 1 dgrijalva staff 102 Apr 2 18:29 single.go
package main
import (
"github.com/fitstar/falcore"
)
func main(){
_ = falcore.NewServer(80, nil)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment