Skip to content

Commit

Permalink
unit: move code generation to unit package
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-ch committed Nov 18, 2018
1 parent fa89b22 commit e09dcee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion unit/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:generate go run internal/autogen.go
//go:generate go run generate_unit.go

// Package unit provides a set of types and constants that facilitate
// the use of the International System of Units (SI).
Expand Down
2 changes: 2 additions & 0 deletions unit/internal/autogen.go → unit/generate_unit.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build ignore

package main

import (
Expand Down

0 comments on commit e09dcee

Please sign in to comment.