Skip to content

Commit e4c3219

Browse files
authored
update license (#10)
1 parent 77cdd86 commit e4c3219

File tree

8 files changed

+96
-4
lines changed

8 files changed

+96
-4
lines changed

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@
1212
# Output of the go coverage tool, specifically when used with LiteIDE
1313
*.out
1414

15-
16-
1715
# Dependency directories (remove the comment below to include it)
18-
# vendor/
16+
vendor/

.licenserc.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"**/*.go" :[
3+
"/*",
4+
"* Licensed to the AcmeStack under one or more contributor license",
5+
"* agreements. See the NOTICE file distributed with this work for",
6+
"* additional information regarding copyright ownership.",
7+
"* Licensed under the Apache License, Version 2.0 (the \"License\");",
8+
"* you may not use this file except in compliance with the License.",
9+
"* You may obtain a copy of the License at",
10+
"*",
11+
"* http://www.apache.org/licenses/LICENSE-2.0",
12+
"*",
13+
"* Unless required by applicable law or agreed to in writing, software",
14+
"* distributed under the License is distributed on an \"AS IS\" BASIS,",
15+
"* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.",
16+
"* See the License for the specific language governing permissions and",
17+
"* limitations under the License.",
18+
"*/"
19+
20+
]
21+
}

NOTICE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Copyright (c) 2013 - 2022, AcmeStack
2+
All rights reserved.
3+
4+
This product includes software developed at
5+
The AcmeStack (https://www.acmestack.org/).

example/base/zz_gen.column.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
package base
219

320
var UserColumn = struct {

example/common/user_dao.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import "github.com/acmestack/gorm-plus/gplus"
2222
var userDao = NewUserDao[User]()
2323

2424
type UserDao[T any] struct {
25-
gplus.CommonDao[T, int64]
25+
gplus.CommonDao[T]
2626
}
2727

2828
func NewUserDao[T any]() *UserDao[T] {

example/common/zz_gen.column.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
package common
219

320
var UserColumn = struct {

tests/utils.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
package tests
219

320
import (

tests/zz_gen.column.go

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* Licensed to the AcmeStack under one or more contributor license
3+
* agreements. See the NOTICE file distributed with this work for
4+
* additional information regarding copyright ownership.
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
package tests
219

320
var UserColumn = struct {

0 commit comments

Comments
 (0)