tex: fix stuff
This commit is contained in:
parent
59abf73ef5
commit
a387996328
@ -690,8 +690,9 @@ the result of this step is successful, a handful of code analysis services get
|
|||||||
pinged in the next steps to take notice of the changes to project's source code
|
pinged in the next steps to take notice of the changes to project's source code
|
||||||
and update their metrics, details can be found in the main Drone configuration
|
and update their metrics, details can be found in the main Drone configuration
|
||||||
file \texttt{.drone.yml} and the configuration for the \texttt{golangci-lint}
|
file \texttt{.drone.yml} and the configuration for the \texttt{golangci-lint}
|
||||||
tool itself (what linters are enabled/disabled and with whats settings) can be
|
tool itself (such as what linters are enabled/disabled and with what settings)
|
||||||
found in the root of the repository in the file named \texttt{.golangci.yml}.
|
can be found in the root of the repository in the file named
|
||||||
|
\texttt{.golangci.yml}.
|
||||||
|
|
||||||
The fourth pipeline focuses on linting the Containerfile and building the
|
The fourth pipeline focuses on linting the Containerfile and building the
|
||||||
container, although the latter action is only performed on feature branches,
|
container, although the latter action is only performed on feature branches,
|
||||||
@ -1528,7 +1529,7 @@ testing data is not needed after the test, this is deemed good enough. Next, a
|
|||||||
defer statement calling the \texttt{Close()} method on the database object is
|
defer statement calling the \texttt{Close()} method on the database object is
|
||||||
made, which is the idiomatic Go way of closing files and network connections
|
made, which is the idiomatic Go way of closing files and network connections
|
||||||
(which are also an abstraction over files on UNIX-like operating systems such
|
(which are also an abstraction over files on UNIX-like operating systems such
|
||||||
as GNU/Linux). The \emph{defer} statement gets called when after all of the
|
as GNU/Linux). The \emph{defer} statement gets called after all of the
|
||||||
statements in the surrounding function, which makes sure no file descriptors
|
statements in the surrounding function, which makes sure no file descriptors
|
||||||
(FDs) are leaked and the file is properly closed when the function returns.
|
(FDs) are leaked and the file is properly closed when the function returns.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user