Socket
Socket
Sign inDemoInstall

dmitri.shuralyov.com/go/generated

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dmitri.shuralyov.com/go/generated

Package generated provides a function that parses a source file and reports whether it contains a "// Code generated … DO NOT EDIT." line comment. It implements the specification at https://go.dev/s/generatedcode. The first priority is correctness (no false negatives, no false positives). It must return accurate results even if the input source code is formatted unconventionally. The second priority is performance. The current version uses bufio.Reader and ReadBytes. Performance can be optimized further by using lower level I/O primitives and allocating less. That can be explored later.


Version published

FAQs

Last updated on 23 Apr 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc