View golang_timer_example.go
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"time" | |
) | |
func runTimed(tick time.Duration, f func()) context.CancelFunc { |
View copy_gcs_bucket_to_minio.go
package main | |
import ( | |
"cloud.google.com/go/storage" | |
"context" | |
"github.com/minio/minio-go" | |
"google.golang.org/api/iterator" | |
"log" | |
"os" | |
) |