mirror of
https://github.com/unidoc/unioffice.git
synced 2025-04-25 13:48:53 +08:00
meta: add compile time check for go1.8+
This commit is contained in:
parent
eab436cb20
commit
237685187d
10
mingo.go
Normal file
10
mingo.go
Normal file
@ -0,0 +1,10 @@
|
||||
// Copyright 2017 Baliance. All rights reserved.
|
||||
//
|
||||
// Use of this source code is governed by the terms of the Affero GNU General
|
||||
// Public License version 3.0 as published by the Free Software Foundation and
|
||||
// appearing in the file LICENSE included in the packaging of this file. A
|
||||
// commercial license can be purchased by contacting sales@baliance.com.
|
||||
|
||||
package gooxml
|
||||
|
||||
const MinGoVersion = requires_go_18
|
12
mingo_18.go
Normal file
12
mingo_18.go
Normal file
@ -0,0 +1,12 @@
|
||||
// Copyright 2017 Baliance. All rights reserved.
|
||||
//
|
||||
// Use of this source code is governed by the terms of the Affero GNU General
|
||||
// Public License version 3.0 as published by the Free Software Foundation and
|
||||
// appearing in the file LICENSE included in the packaging of this file. A
|
||||
// commercial license can be purchased by contacting sales@baliance.com.
|
||||
|
||||
// +build go1.8
|
||||
|
||||
package gooxml
|
||||
|
||||
const requires_go_18 = true
|
Loading…
x
Reference in New Issue
Block a user