Skip to content

Instantly share code, notes, and snippets.

View sagar23sj's full-sized avatar
🎯
Focusing

Sagar Sonwane sagar23sj

🎯
Focusing
View GitHub Profile
@sagar23sj
sagar23sj / unexported_counter.go
Last active August 30, 2021 09:07
Example - Unexported Identifier in Golang
package counter
// internalCounter is an unexported identifier of integer type
type internalCounter int
@sagar23sj
sagar23sj / exported_1_counter.go
Created August 30, 2021 08:25
Example - Exported Identifiers in Golang - counter.go
package counter
// Count is an exported identifier of integer type
type Count int
# Name of workflow to be displyed on Github Console
name: Build and Test Go Application
# Triggers the workflow on separate events
on:
push:
# Trigger the worflow on push event for all branches
branches:
- '**'
pull_request:
# Name of workflow to be displyed on Github Console
name: Build and Test Go Application
# Triggers the workflow on separate events
on:
push:
# Trigger the worflow on push event for all branches
branches:
- '**'
pull_request: