Discover Packages
github.com/PacktPublishing/Hands-On-Networking-with-Go-Programming
chapter_3_applications
graphql
gqlid
package
Version:
v0.0.0-...-d724b4b
Opens a new window with list of versions in this module.
Published: Jan 18, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
ErrNotValidID is returned when the ID if not in the required format (base64 encoded gob).
ParseInt64For parses an ID and returns an error if it's not an int64.
ID of an item within a GraphQL service.
Parse an ID from a base64 encoded GraphQL ID.
Encoded returns the base64 encoded ID or panics if an error occurred.
Int32 gets the value of the ID.
Int64 gets the value of the ID.
String gets the value of the ID.
Type of the ID.
const (
TypeInt64 Type = 1
TypeInt32
TypeString
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.