blob: 0f6bb1e735e825e6eec20e4d7ae4b03899c70a7e [file] [log] [blame]
.. _Release Task Golang Syntax:
GOLANG: Syntax formatting with gofmt
====================================
Use the gofmt command to reformat golang sources gathered outside the vendor/ directory.
.. code-block:: shell-session
:caption:
% make golang-fmt
% cd mysandbox
% find . ! -path './vendor/\*' -name '*.go' -print | xargs -n1 gofmt -s -e -w