Description
Unlike other program languages like Java and Python that use access modifiers such as public, private, or protected to specify scope, Go determines if an item is exported and unexported through how it is declared. Exporting an item in this case makes it visible outside the current package. If it’s not exported, it is only visible and usable from within the package it was defined. This external visibility is controlled by capitalizing the first letter of the item declared. All declarations, such as Types, Variables, Constants, Functions, etc., that start with a capital letter are visible outside the current package.
There are many things in go-connector that exposed as a part of public API. We need to update a public API and probably make some of these things invisible for external users.
We need to document this if we want to keep these things in a public API.
NOTE: It is a breaking change and next release with these changes should bump a MAJOR version.
- constants declared in
const.go
,Lines 4 to 31 in 31ebde8
- constants declared in
consts.go
,Lines 17 to 31 in 2c3af56
- constants declared in
consts.go
,Lines 46 to 51 in 2c3af56
- Connector interface in
connector.go
,Lines 5 to 40 in 31ebde8
- Deadline methods,
Lines 8 to 27 in 31ebde8
- UUID ext type constant
Line 15 in 2c3af56
- smallbuf api,
Lines 13 to 97 in 7897baf