fixed c&p errors in cups client doc comments

This commit is contained in:
Fabian 2020-03-28 00:49:34 +01:00
parent 9f9a3bca10
commit 93618bc473
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# go-ipp # go-ipp
[![Version](https://img.shields.io/github/release-pre/phin1x/go-ipp.svg)](https://github.com/phin1x/go-ipp/releases/tag/v1.4.1) [![Version](https://img.shields.io/github/release-pre/phin1x/go-ipp.svg)](https://github.com/phin1x/go-ipp/releases/tag/v1.4.2)
[![Documentation](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/github.com/phin1x/go-ipp?tab=doc) [![Documentation](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go&logoColor=white)](https://pkg.go.dev/github.com/phin1x/go-ipp?tab=doc)
[![Go Report Card](https://goreportcard.com/badge/github.com/phin1x/go-ipp)](https://goreportcard.com/report/github.com/phin1x/go-ipp) [![Go Report Card](https://goreportcard.com/badge/github.com/phin1x/go-ipp)](https://goreportcard.com/report/github.com/phin1x/go-ipp)
[![Licence](https://img.shields.io/github/license/phin1x/go-ipp.svg)](https://github.com/phin1x/go-ipp/blob/master/LICENSE) [![Licence](https://img.shields.io/github/license/phin1x/go-ipp.svg)](https://github.com/phin1x/go-ipp/blob/master/LICENSE)

View File

@ -5,12 +5,12 @@ import (
"strings" "strings"
) )
// IPPClient implements a ipp client with specific cups operations // CUPSClient implements a ipp client with specific cups operations
type CUPSClient struct { type CUPSClient struct {
*IPPClient *IPPClient
} }
// NewIPPClient creates a new cups ipp client // NewCUPSClient creates a new cups ipp client
func NewCUPSClient(host string, port int, username, password string, useTLS bool) *CUPSClient { func NewCUPSClient(host string, port int, username, password string, useTLS bool) *CUPSClient {
ippClient := NewIPPClient(host, port, username, password, useTLS) ippClient := NewIPPClient(host, port, username, password, useTLS)
return &CUPSClient{ippClient} return &CUPSClient{ippClient}