Version: v0.0.0-...-2cfd321 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2019 License: MIT Imports: 11 Imported by: 0



This is a small tool that updates the license header for Uber's open source Golang files.


go get go.uber.org/tools/update-license


update-license go_files...

Further Work

  • Support more licenses by name (MIT, Apache 2.0, etc), file path, url (http GET)
  • Support custom owner (not just "Uber Technologies, Inc.")
  • Support more languages than go (cover go, java, js, py to start, along with LICENSE, LICENSE.txt)
  • Talk about removing custom logic for header comments (ie @generated, Code generated by), it probably makes more sense just to put the license at the top
  • Better detection support for existing licenses so they can be removed
  • Verbose, dry run support


The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL