Skip to content

Commit 2f146c9

Browse files
committed
Comments style changed.
1 parent 6ced438 commit 2f146c9

31 files changed

+337
-275
lines changed

cell.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

chart.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

col.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

comment.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

datavalidation.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

datavalidation_test.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import "testing"

date.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

excelize.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

file.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

hsl.go

+34-32
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright (c) 2012 Rodrigo Moraes. All rights reserved.
7-
//
8-
// Redistribution and use in source and binary forms, with or without
9-
// modification, are permitted provided that the following conditions are
10-
// met:
11-
//
12-
// * Redistributions of source code must retain the above copyright
13-
// notice, this list of conditions and the following disclaimer.
14-
// * Redistributions in binary form must reproduce the above
15-
// copyright notice, this list of conditions and the following disclaimer
16-
// in the documentation and/or other materials provided with the
17-
// distribution.
18-
// * Neither the name of Google Inc. nor the names of its
19-
// contributors may be used to endorse or promote products derived from
20-
// this software without specific prior written permission.
21-
//
22-
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23-
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24-
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25-
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26-
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27-
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28-
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29-
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30-
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31-
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32-
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright (c) 2012 Rodrigo Moraes. All rights reserved.
8+
9+
Redistribution and use in source and binary forms, with or without
10+
modification, are permitted provided that the following conditions are
11+
met:
12+
13+
* Redistributions of source code must retain the above copyright
14+
notice, this list of conditions and the following disclaimer.
15+
* Redistributions in binary form must reproduce the above
16+
copyright notice, this list of conditions and the following disclaimer
17+
in the documentation and/or other materials provided with the
18+
distribution.
19+
* Neither the name of Google Inc. nor the names of its
20+
contributors may be used to endorse or promote products derived from
21+
this software without specific prior written permission.
22+
23+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34+
*/
3335
package excelize
3436

3537
import (

lib.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

rows.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

shape.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

sheet.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import (

sheetpr.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
// SheetPrOption is an option of a view of a worksheet. See SetSheetPrOptions().

sheetview.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
// Package excelize providing a set of functions that allow you to write to
2-
// and read from XLSX files. Support reads and writes XLSX file generated by
3-
// Microsoft Excel™ 2007 and later. Support save file without losing original
4-
// charts of XLSX. This library needs Go version 1.8 or later.
5-
//
6-
// Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
7-
// this source code is governed by a BSD-style license that can be found in
8-
// the LICENSE file.
1+
/*
2+
Package excelize providing a set of functions that allow you to write to
3+
and read from XLSX files. Support reads and writes XLSX file generated by
4+
Microsoft Excel™ 2007 and later. Support save file without losing original
5+
charts of XLSX. This library needs Go version 1.8 or later.
6+
7+
Copyright 2016 - 2018 The excelize Authors. All rights reserved. Use of
8+
this source code is governed by a BSD-style license that can be found in
9+
the LICENSE file.
10+
*/
911
package excelize
1012

1113
import "fmt"

0 commit comments

Comments
 (0)