github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/image/gdal/example_test.go (about)

     1  // Copyright 2011 go-gdal. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package gdal_test
     6  
     7  import (
     8  	_ "fmt"
     9  	_ "time"
    10  )
    11  
    12  // func ExampleDate() {
    13  // 	t := time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC)
    14  // 	fmt.Printf("Go launched at %s\n", t.Local())
    15  // 	// Output: Go launched at 2009-11-10 15:00:00 -0800 PST
    16  // }