mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-04 23:56:30 +00:00
4df9c8d6a5
* github.com/russross/meddler v1.0.0 -> v1.0.1 * github.com/gin-gonic/gin v1.6.3 -> v1.7.4 * github.com/go-sql-driver/mysql v1.5.0 -> v1.6.0 * github.com/sirupsen/logrus v1.6.0 -> v1.8.1 * github.com/rs/zerolog v1.18.0 -> v1.25.0
17 lines
511 B
Go
17 lines
511 B
Go
// Copyright (c) 2012-2020 Ugorji Nwoke. All rights reserved.
|
|
// Use of this source code is governed by a MIT license found in the LICENSE file.
|
|
|
|
//go:build codecgen || generated
|
|
// +build codecgen generated
|
|
|
|
package codec
|
|
|
|
// this file sets the codecgen variable to true
|
|
// when the build tag codecgen is set.
|
|
//
|
|
// some tests depend on knowing whether in the context of codecgen or not.
|
|
// For example, some tests should be skipped during codecgen e.g. missing fields tests.
|
|
|
|
func init() {
|
|
codecgen = true
|
|
}
|