Skip to content

Commit

Permalink
license: add copyright heading
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmetZC committed Jul 13, 2021
1 parent 86e58b4 commit 2dffd52
Show file tree
Hide file tree
Showing 72 changed files with 142 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cmd/wechatpay_download_certs/wechatpay_download_certs.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package main

import (
Expand Down
2 changes: 2 additions & 0 deletions core/auth/credential.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package auth 微信支付 API v3 Go SDK 安全验证相关接口
package auth

Expand Down
2 changes: 2 additions & 0 deletions core/auth/credentials/wechat_pay_credential.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package credentials 微信支付 API v3 Go SDK 请求报文头 Authorization 信息生成器
package credentials

Expand Down
2 changes: 2 additions & 0 deletions core/auth/credentials/wechat_pay_credential_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package credentials

import (
Expand Down
2 changes: 2 additions & 0 deletions core/auth/signer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package auth 微信支付 API v3 Go SDK 安全验证相关接口
package auth

Expand Down
2 changes: 2 additions & 0 deletions core/auth/signers/sha256withrsa_signer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package signers 微信支付 API v3 Go SDK 数字签名生成器
package signers

Expand Down
2 changes: 2 additions & 0 deletions core/auth/signers/sha256withrsa_signer_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package signers

import (
Expand Down
2 changes: 2 additions & 0 deletions core/auth/validator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package auth 微信支付 API v3 Go SDK 安全验证相关接口
package auth

Expand Down
2 changes: 2 additions & 0 deletions core/auth/validators/null_validator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package validators 微信支付 API v3 Go SDK 应答报文签名验证器
package validators

Expand Down
2 changes: 2 additions & 0 deletions core/auth/validators/validator_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package validators

import (
Expand Down
2 changes: 2 additions & 0 deletions core/auth/validators/wechat_pay_notify_validator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package validators

import (
Expand Down
2 changes: 2 additions & 0 deletions core/auth/validators/wechat_pay_response_validator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package validators 微信支付 API v3 Go SDK 应答报文验证器
package validators

Expand Down
2 changes: 2 additions & 0 deletions core/auth/validators/wechat_pay_validator.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package validators

import (
Expand Down
2 changes: 2 additions & 0 deletions core/auth/verifier.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package auth 微信支付 API v3 Go SDK 安全验证相关接口
package auth

Expand Down
2 changes: 2 additions & 0 deletions core/auth/verifiers/sha256withrsa_verifier.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package verifiers 微信支付 API v3 Go SDK 数字签名验证器
package verifiers

Expand Down
2 changes: 2 additions & 0 deletions core/auth/verifiers/sha256withrsa_verifier_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package verifiers

import (
Expand Down
2 changes: 2 additions & 0 deletions core/certificate_map.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package core

import (
Expand Down
2 changes: 2 additions & 0 deletions core/certificate_visitor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package core

import (
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/cipher.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package cipher

import "context"
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/ciphers/context.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package ciphers

import "context"
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/ciphers/wechat_pay_cipher.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package ciphers

import (
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/ciphers/wechat_pay_cipher_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package ciphers

import (
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/decryptor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package cipher

import "context"
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/decryptors/mock_decryptor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package decryptors

import (
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/decryptors/wechat_pay_decryptor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package decryptors

import (
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/decryptors/wechat_pay_decryptor_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package decryptors

import (
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/encryptor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package cipher

import "context"
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/encryptors/mock_encryptor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package encryptors

import (
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/encryptors/wechat_pay_encryptor.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package encryptors

import (
Expand Down
2 changes: 2 additions & 0 deletions core/cipher/encryptors/wechat_pay_encryptor_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package encryptors

import (
Expand Down
2 changes: 1 addition & 1 deletion core/client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Tencent Inc. All rights reserved.
// Copyright 2021 Tencent Inc. All rights reserved.

// Package core 微信支付 API v3 Go SDK HTTPClient 基础库,你可以使用它来创建一个 Client,并向微信支付发送 HTTP 请求
//
Expand Down
2 changes: 2 additions & 0 deletions core/client_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package core_test

import (
Expand Down
2 changes: 2 additions & 0 deletions core/client_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package core_test

import (
Expand Down
2 changes: 2 additions & 0 deletions core/consts/const.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package consts 微信支付 API v3 Go SDK 常量
package consts

Expand Down
2 changes: 2 additions & 0 deletions core/downloader/downloader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package downloader

import (
Expand Down
2 changes: 2 additions & 0 deletions core/downloader/downloader_mgr.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package downloader

import (
Expand Down
2 changes: 2 additions & 0 deletions core/downloader/downloader_mgr_singleton.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package downloader

import (
Expand Down
2 changes: 2 additions & 0 deletions core/downloader/downloader_mgr_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package downloader_test

import (
Expand Down
2 changes: 2 additions & 0 deletions core/downloader/downloader_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package downloader_test

import (
Expand Down
2 changes: 2 additions & 0 deletions core/downloader/example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package downloader_test

import (
Expand Down
2 changes: 2 additions & 0 deletions core/downloader/mock_download_server_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package downloader_test

import (
Expand Down
2 changes: 2 additions & 0 deletions core/error.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package core

import (
Expand Down
2 changes: 2 additions & 0 deletions core/notify/example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package notify_test

import (
Expand Down
2 changes: 2 additions & 0 deletions core/notify/notify.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package notify 微信支付 API v3 Go SDK 商户通知处理库
package notify

Expand Down
2 changes: 2 additions & 0 deletions core/notify/notify_request.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package notify

import (
Expand Down
2 changes: 2 additions & 0 deletions core/notify/notify_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package notify

import (
Expand Down
2 changes: 2 additions & 0 deletions core/option/auth_cipher_option.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package option

import (
Expand Down
2 changes: 1 addition & 1 deletion core/option/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Tencent Inc. All rights reserved.
// Copyright 2021 Tencent Inc. All rights reserved.

// Package option 微信支付 API v3 Go SDK Client 初始化参数工具包,你可以使用其中的方法快速构建 core.Client 的初始化参数。
package option
2 changes: 2 additions & 0 deletions core/option/option.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package option

import (
Expand Down
2 changes: 2 additions & 0 deletions core/settings.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package core

import (
Expand Down
2 changes: 2 additions & 0 deletions core/type.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package core

import "time"
Expand Down
2 changes: 2 additions & 0 deletions services/fileuploader/file_uploader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package fileuploader

import (
Expand Down
2 changes: 2 additions & 0 deletions services/fileuploader/fileuploader_example_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package fileuploader_test

import (
Expand Down
2 changes: 2 additions & 0 deletions services/fileuploader/image_uploader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package fileuploader

import (
Expand Down
2 changes: 2 additions & 0 deletions services/fileuploader/marketing_image_uploader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package fileuploader

import (
Expand Down
2 changes: 2 additions & 0 deletions services/fileuploader/mch_biz_uploader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package fileuploader

import (
Expand Down
2 changes: 2 additions & 0 deletions services/fileuploader/video_uploader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package fileuploader

import (
Expand Down
2 changes: 2 additions & 0 deletions services/payments/app/api_app_request_payment.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package app

import (
Expand Down
2 changes: 2 additions & 0 deletions services/payments/jsapi/api_jsapi_request_payment.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package jsapi

import (
Expand Down
2 changes: 2 additions & 0 deletions services/service.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

// Package services 微信支付 API v3 Go SDK 服务列表
package services

Expand Down
2 changes: 2 additions & 0 deletions utils/aes.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package utils

import (
Expand Down
2 changes: 2 additions & 0 deletions utils/aes_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package utils

import (
Expand Down
2 changes: 2 additions & 0 deletions utils/nonce.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package utils

import (
Expand Down
2 changes: 2 additions & 0 deletions utils/nonce_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package utils

import (
Expand Down
2 changes: 2 additions & 0 deletions utils/pem.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package utils

import (
Expand Down
2 changes: 2 additions & 0 deletions utils/pem_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2021 Tencent Inc. All rights reserved.

package utils

import (
Expand Down
Loading

0 comments on commit 2dffd52

Please sign in to comment.