Factor code template into a file.

This allows code regeneration without rebuilding the generator binary.
This commit is contained in:
John Beisley 2021-08-14 10:17:22 +01:00 committed by Huin
parent bbdad2bb54
commit ec3f59b630
2 changed files with 1 additions and 6 deletions

5
go.mod
View File

@ -2,7 +2,4 @@ module github.com/huin/goupnp
go 1.14
require (
github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
)
require golang.org/x/sync v0.0.0-20210220032951-036812b2e83c

2
go.sum
View File

@ -1,4 +1,2 @@
github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150 h1:vlNjIqmUZ9CMAWsbURYl3a6wZbw7q5RHVvlXTNS/Bs8=
github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=