sync_gateway icon indicating copy to clipboard operation
sync_gateway copied to clipboard

Rewrite sgcollect in go

Open markspolakovs opened this issue 2 years ago • 0 comments

Rewrite sgcollect in go.

  • Will almost certainly break the build, as it'll expect Python sgcollect to be present.
  • The sgcollect code intentionally doesn't import modules from the existing SG packages (eg. utilities in base or type definitions from rest). This is to keep the binary size down, as all those packages' dependencies will be imported even if they're not used.

Pre-review checklist

  • [x] Removed debug logging (fmt.Print, log.Print, ...)
  • [x] Logging sensitive data? Make sure it's tagged (e.g. base.UD(docID), base.MD(dbName))
  • [x] Updated relevant information in the API specifications (such as endpoint descriptions, schemas, ...) in docs/api

markspolakovs avatar Sep 23 '22 16:09 markspolakovs