func NewCloudStorage()

in code/app/storage.go [37:50]


func NewCloudStorage(bucket string) (CloudStorage, error) {
	cs := CloudStorage{}

	ctx := context.Background()
	client, err := storage.NewClient(ctx)
	if err != nil {
		return cs, fmt.Errorf("failed to create client: %v", err)
	}
	cs.Client = *client
	cs.Bucket = bucket
	cs.ctx = ctx

	return cs, nil
}