Skip to content

Commit

Permalink
Merge pull request #104 from 3ks/update-parameter-order
Browse files Browse the repository at this point in the history
update: parameter order
  • Loading branch information
shabicheng authored Oct 25, 2020
2 parents 736a691 + 9c6adbb commit b26419e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/producer/simple_callback_demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func main() {
// GenerateLog is producer's function for generating SLS format logs
// GenerateLog has low performance, and native Log interface is the best choice for high performance.
log := producer.GenerateLog(uint32(time.Now().Unix()), map[string]string{"content": "test", "content2": fmt.Sprintf("%v", i)})
err := producerInstance.SendLogWithCallBack("project", "logstrore", "127.0.0.1", "topic", log, callBack)
err := producerInstance.SendLogWithCallBack("project", "logstrore", "topic", "127.0.0.1", log, callBack)
if err != nil {
fmt.Println(err)
}
Expand Down

0 comments on commit b26419e

Please sign in to comment.