harness-drone/service/license/nolimit.go
2019-02-19 15:56:41 -08:00

13 lines
435 B
Go

// Copyright 2019 Drone.IO Inc. All rights reserved.
// Use of this source code is governed by the Drone Non-Commercial License
// that can be found in the LICENSE file.
// +build nolimit
package license
// DefaultLicense is an empty license with no restrictions.
var DefaultLicense = &License{Kind: LicenseFoss}
func Trial(string) *License { return nil }
func Load(string) (*License, error) { return DefaultLicense, nil }