Skip to content

Instantly share code, notes, and snippets.

View microyahoo's full-sized avatar
🎯
Focusing

Liang Zheng microyahoo

🎯
Focusing
View GitHub Profile

Goal

This is list TODOs for the bucket notification PR in Rook. Based on these comments:

Priority 1

Refactoring and Unit Tests

  • code reuse with reused function (and unit test for above reused function)
  • use the regular S3 agent for notification provisioning (topic will still need the special SNS client)
@miguelmota
miguelmota / struct_custom_unmarshal.go
Created March 15, 2018 04:12
Golang custom struct unmarshal function example
package main
import (
"encoding/json"
"fmt"
"log"
"time"
)
type MyStruct struct {