From 538ebbfe8da2384349c570e9bbff4b1211e155ef Mon Sep 17 00:00:00 2001 From: John Date: Tue, 27 Feb 2018 10:51:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- g/container/container.go | 6 ++++++ g/database/database.go | 6 ++++++ g/encoding/encoding.go | 7 +++++++ g/frame/frame.go | 7 +++++++ g/frame/gins/gins.go | 2 +- g/g.go | 8 +++++++- g/net/ghttp/ghttp.go | 2 +- 7 files changed, 35 insertions(+), 3 deletions(-) diff --git a/g/container/container.go b/g/container/container.go index 92b957153..1f95243b5 100644 --- a/g/container/container.go +++ b/g/container/container.go @@ -1 +1,7 @@ +// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// +// This Source Code Form is subject to the terms of the MIT License. +// If a copy of the MIT was not distributed with this file, +// You can obtain one at https://gitee.com/johng/gf. + package container diff --git a/g/database/database.go b/g/database/database.go index 636bab89a..935bcae0e 100644 --- a/g/database/database.go +++ b/g/database/database.go @@ -1 +1,7 @@ +// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// +// This Source Code Form is subject to the terms of the MIT License. +// If a copy of the MIT was not distributed with this file, +// You can obtain one at https://gitee.com/johng/gf. + package database diff --git a/g/encoding/encoding.go b/g/encoding/encoding.go index 523b90ced..5018f6f97 100644 --- a/g/encoding/encoding.go +++ b/g/encoding/encoding.go @@ -1 +1,8 @@ +// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// +// This Source Code Form is subject to the terms of the MIT License. +// If a copy of the MIT was not distributed with this file, +// You can obtain one at https://gitee.com/johng/gf. + +// 数据编码/解码. package encoding diff --git a/g/frame/frame.go b/g/frame/frame.go index 904b2701a..6d525a132 100644 --- a/g/frame/frame.go +++ b/g/frame/frame.go @@ -1 +1,8 @@ +// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// +// This Source Code Form is subject to the terms of the MIT License. +// If a copy of the MIT was not distributed with this file, +// You can obtain one at https://gitee.com/johng/gf. + +// 常用框架管理. package frame diff --git a/g/frame/gins/gins.go b/g/frame/gins/gins.go index f3288a6b0..c30ce1c36 100644 --- a/g/frame/gins/gins.go +++ b/g/frame/gins/gins.go @@ -4,7 +4,7 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// 单例对象管理(耦合了一些框架核心对象获取方法). +// 单例对象管理. // 框架内置了一些核心对象获取方法,并且可以通过Set和Get方法实现IoC以及对内置核心对象的自定义替换 package gins diff --git a/g/g.go b/g/g.go index ac3b03971..260512124 100644 --- a/g/g.go +++ b/g/g.go @@ -1,4 +1,10 @@ +// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// +// This Source Code Form is subject to the terms of the MIT License. +// If a copy of the MIT was not distributed with this file, +// You can obtain one at https://gitee.com/johng/gf. + + package g -// Yes, it's g.go diff --git a/g/net/ghttp/ghttp.go b/g/net/ghttp/ghttp.go index a3b2eb9d6..e909498ca 100644 --- a/g/net/ghttp/ghttp.go +++ b/g/net/ghttp/ghttp.go @@ -4,5 +4,5 @@ // If a copy of the MIT was not distributed with this file, // You can obtain one at https://gitee.com/johng/gf. -// HTTP Client&Server +// HTTP Client & Server. package ghttp