From c9c024952f8eee0f97a4a9d5c41b09d96d55cc52 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Fri, 10 Jan 2025 13:19:53 +0800 Subject: [PATCH] modify mongoctl --- core/tools/mongoctl/template/counter.go | 3 +-- core/tools/mongoctl/template/template.go | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/core/tools/mongoctl/template/counter.go b/core/tools/mongoctl/template/counter.go index b88724d..52af4d6 100644 --- a/core/tools/mongoctl/template/counter.go +++ b/core/tools/mongoctl/template/counter.go @@ -20,8 +20,7 @@ func New${VarDaoClassName}(db *mongo.Database) *${VarDaoClassName} { const CounterInternalTemplate = ` // -------------------------------------------------------------------------------------------------- // The following code is automatically generated by the mongo-dao-generator tool. -// Please do not modify this code manually to avoid being overwritten in the next generation. -// For more tool details, please click the link to view https://github.com/dobyte/mongo-dao-generator +// Please do not modify this code manually to avoid being overwritten in the next generation. // -------------------------------------------------------------------------------------------------- package internal diff --git a/core/tools/mongoctl/template/template.go b/core/tools/mongoctl/template/template.go index dca7d02..8f3d944 100644 --- a/core/tools/mongoctl/template/template.go +++ b/core/tools/mongoctl/template/template.go @@ -56,9 +56,8 @@ func New${VarDaoClassName}(db *mongo.Database, c *mongo.Collection) (*${VarDaoCl const InternalTemplate = ` // -------------------------------------------------------------------------------------------- -// The following code is automatically generated by the mongo-dao-generator tool. -// Please do not modify this code manually to avoid being overwritten in the next generation. -// For more tool details, please click the link to view https://github.com/dobyte/mongo-dao-generator +// The following code is automatically generated by the mongoctl tool. +// Please do not modify this code manually to avoid being overwritten in the next generation. // -------------------------------------------------------------------------------------------- package internal