Coder Social home page Coder Social logo

fn: enqueue about goperf HOT 2 CLOSED

mmcloughlin avatar mmcloughlin commented on June 2, 2024
fn: enqueue

from goperf.

Comments (2)

mmcloughlin avatar mmcloughlin commented on June 2, 2024

Trigger appears to be working. The handler just logs information at the moment:

https://github.com/mmcloughlin/cb/blob/62c0b41e2ad400770757619751cdaf4e677dfe05/fn/enqueue/fn.go#L26-L32

Output looks like:

2020/02/12 19:13:03 name: projects/contbench/databases/(default)/documents/commits/363bcd0068bcc64ec09ab3d09921f559ca6d8070
2020/02/12 19:13:03 fields: map[string]interface {}{"author_email":map[string]interface {}{"stringValue":"[email protected]"}, "author_name":map[string]interface {}{"stringValue":"Bryan C. Mills"}, "author_time":map[string]interface {}{"timestampValue":"2020-02-12T18:03:18Z"}, "commit_time":map[string]interface {}{"timestampValue":"2020-02-12T18:22:50Z"}, "committer_email":map[string]interface {}{"stringValue":"[email protected]"}, "committer_name":map[string]interface {}{"stringValue":"Bryan C. Mills"}, "message":map[string]interface {}{"stringValue":"cmd/go: eliminate empty '()' when passing -mod=readonly explicitly to 'go list'\n\nDiscovered while investigating #37197.\n\nUpdates #33326\nUpdates #34822\n\nChange-Id: I38b136a4ee762a580a554125066b9778491295f2\nReviewed-on: https://go-review.googlesource.com/c/go/+/219237\nRun-TryBot: Bryan C. Mills <[email protected]>\nReviewed-by: Michael Matloob <[email protected]>\nTryBot-Result: Gobot Gobot <[email protected]>\n"}, "parents":map[string]interface {}{"arrayValue":map[string]interface {}{"values":[]interface {}{map[string]interface {}{"stringValue":"73859478257884608030e5e8d774ffa3321f0ecf"}}}}, "sha":map[string]interface {}{"stringValue":"363bcd0068bcc64ec09ab3d09921f559ca6d8070"}, "tree":map[string]interface {}{"stringValue":"e61f61877978fd64fcfb2a6f2f1f4f6cd5550477"}}

Need to figure out the cleanest way to marshal this data structure.

from goperf.

mmcloughlin avatar mmcloughlin commented on June 2, 2024

Not relevant any more. Tool a different approach.

from goperf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.