alter code format
diff --git a/output/testfuncs/java8_time.go b/output/testfuncs/java8_time.go
index 3685aa8..adf3bd2 100644
--- a/output/testfuncs/java8_time.go
+++ b/output/testfuncs/java8_time.go
@@ -22,7 +22,7 @@
"github.com/apache/dubbo-go-hessian2/java8_time"
)
-// test java8 java.time.Year
+// Java8TimeYear is test java8 java.time.Year
func Java8TimeYear() []byte {
e := hessian.NewEncoder()
year := java8_time.Year{Year: 2020}
@@ -30,7 +30,7 @@
return e.Buffer()
}
-// test java8 java.time.LocalDate
+// Java8LocalDate is test java8 java.time.LocalDate
func Java8LocalDate() []byte {
e := hessian.NewEncoder()
date := java8_time.LocalDate{Year: 2020, Month: 9, Day: 12}
diff --git a/output/testfuncs/java_exception.go b/output/testfuncs/java_exception.go
index 82c3621..11b14c8 100644
--- a/output/testfuncs/java_exception.go
+++ b/output/testfuncs/java_exception.go
@@ -14,6 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
package testfuncs
import (
@@ -21,7 +22,7 @@
"github.com/apache/dubbo-go-hessian2/java_exception"
)
-// test java Exception
+// JavaException is test java Exception
func JavaException() []byte {
e := hessian.NewEncoder()
exception := java_exception.NewException("java_exception")