go generate: replacement go get with go generate

pull/38/head
Marc-Antoine Ruel 4 years ago
parent 4d03e3f68b
commit 1a02735f94

@ -2,7 +2,7 @@
// Use of this source code is governed under the Apache License, Version 2.0 // Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file. // that can be found in the LICENSE file.
//go:generate go get golang.org/x/tools/cmd/stringer //go:generate go install golang.org/x/tools/cmd/stringer@latest
//go:generate stringer -output=strings_gen.go -type=CameraStatus,command,FFCShutterMode,FFCState,ShutterPos,ShutterTempLockoutState //go:generate stringer -output=strings_gen.go -type=CameraStatus,command,FFCShutterMode,FFCState,ShutterPos,ShutterTempLockoutState
package cci package cci

Loading…
Cancel
Save