Skip to content

Commit 3671a1c

Browse files
author
Ando
authored
Merge pull request #1 from goify/develop
feature: re-struct pkg to be in goify org
2 parents a60a5c4 + 27f8335 commit 3671a1c

11 files changed

+49
-49
lines changed

.github/workflows/assign.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ on:
66

77
jobs:
88
assign-labels:
9+
name: Assign Labels
910
runs-on: ubuntu-latest
10-
1111
steps:
12-
- uses: actions/checkout@v3
13-
14-
- uses: actions-ecosystem/action-add-labels@v1
12+
- name: Checkout Repository
13+
uses: actions/checkout@v3
14+
- name: Add Labels
15+
uses: actions-ecosystem/action-add-labels@v1
1516
with:
1617
github_token: ${{ secrets.GH_TOKEN }}
1718
labels: |

.github/workflows/build.yml

+12-13
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,23 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7+
name: Build and Test
78
runs-on: ubuntu-latest
8-
99
strategy:
1010
fail-fast: false
11-
1211
matrix:
1312
go-version:
14-
- 1.19
15-
13+
- 1.21.0
1614
steps:
17-
- uses: actions/checkout@v3
18-
19-
- uses: actions/setup-go@v3
15+
- name: Checkout Repository
16+
uses: actions/checkout@v3
17+
- name: Set up Go
18+
uses: actions/setup-go@v3
2019
with:
2120
go-version: ${{ matrix.go-version }}
22-
23-
- run: go version
24-
25-
- run: go install
26-
27-
- run: go test
21+
- name: Display Go Version
22+
run: go version
23+
- name: Install Dependencies
24+
run: go install
25+
- name: Run Tests
26+
run: go test

.github/workflows/publish.yml

+13-14
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,24 @@ on:
55
types: [created]
66

77
jobs:
8-
build:
8+
publish:
9+
name: Publish Release
910
runs-on: ubuntu-latest
10-
1111
strategy:
1212
fail-fast: false
13-
1413
matrix:
1514
go-version:
16-
- 1.19
17-
15+
- 1.21.0
1816
steps:
19-
- uses: actions/checkout@v3
20-
21-
- uses: actions/setup-go@v3
17+
- name: Checkout Repository
18+
uses: actions/checkout@v3
19+
- name: Set up Go
20+
uses: actions/setup-go@v3
2221
with:
2322
go-version: ${{ matrix.go-version }}
24-
25-
- run: go version
26-
27-
- run: go install
28-
29-
- run: GOPROXY=proxy.golang.org go list -m github.com/iamando/logaro
23+
- name: Display Go Version
24+
run: go version
25+
- name: Install Dependencies
26+
run: go install
27+
- name: Verify Dependency
28+
run: GOPROXY=proxy.golang.org go list -m github.com/goify/logaro

.github/workflows/pull-request.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ on:
77

88
jobs:
99
create-pull-request:
10+
name: Create Pull Request
1011
runs-on: ubuntu-latest
11-
1212
steps:
13-
- uses: actions/checkout@v3
14-
15-
- uses: jascodes/pr-branch-action@1.0.3
13+
- name: Checkout Repository
14+
uses: actions/checkout@v3
15+
- name: Create Pull Request
16+
uses: jascodes/pr-branch-action@1.0.3
1617
env:
1718
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
1819
PULL_REQUEST_BRANCH: master

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 iamando
3+
Copyright (c) 2023 goify
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Logaro
22

3-
![build](https://github.com/iamando/logaro/workflows/build/badge.svg)
4-
![license](https://img.shields.io/github/license/iamando/logaro?color=success)
5-
![Go version](https://img.shields.io/github/go-mod/go-version/iamando/logaro)
6-
[![GoDoc](https://godoc.org/github.com/iamando/logaro?status.svg)](https://godoc.org/github.com/iamando/logaro)
3+
![build](https://github.com/goify/logaro/workflows/build/badge.svg)
4+
![license](https://img.shields.io/github/license/goify/logaro?color=success)
5+
![Go version](https://img.shields.io/github/go-mod/go-version/goify/logaro)
6+
[![GoDoc](https://godoc.org/github.com/goify/logaro?status.svg)](https://godoc.org/github.com/goify/logaro)
77

88
`Logaro` is a lightweight Go package for JSON-based logging. It provides a simple and flexible logging solution with support for log levels, log entry customization, and hierarchical loggers.
99

@@ -20,7 +20,7 @@
2020
To use Logaro in your Go project, you need to have Go installed and set up. Then, run the following command to install the package:
2121

2222
```bash
23-
go get github.com/iamando/logaro
23+
go get github.com/goify/logaro
2424
```
2525

2626
## Usage
@@ -30,7 +30,7 @@ Here's a basic example of how to use Logaro:
3030
```go
3131
package main
3232

33-
import "github.com/iamando/logaro"
33+
import "github.com/goify/logaro"
3434

3535

3636
func main() {
@@ -125,7 +125,7 @@ Feel free to customize and expand upon this API section based on your specific p
125125

126126
## Documentation
127127

128-
For detailed documentation and API reference, please refer to the [GoDoc](https://godoc.org/github.com/iamando/logaro) page.
128+
For detailed documentation and API reference, please refer to the [GoDoc](https://godoc.org/github.com/goify/logaro) page.
129129

130130
## Support
131131

examples/basic_usage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package examples
22

3-
import "github.com/iamando/logaro"
3+
import "github.com/goify/logaro"
44

55
func init() {
66
// Create a logger

examples/custom_serialization.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package examples
33
import (
44
"strings"
55

6-
"github.com/iamando/logaro"
6+
"github.com/goify/logaro"
77
)
88

99
func init() {

examples/file_logging.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log"
66
"os"
77

8-
"github.com/iamando/logaro"
8+
"github.com/goify/logaro"
99
)
1010

1111
func init() {

examples/hierarchical_logging.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package examples
22

3-
import "github.com/iamando/logaro"
3+
import "github.com/goify/logaro"
44

55
func init() {
66
// Create a root logger

go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/iamando/logaro
1+
module github.com/goify/logaro
22

3-
go 1.19
3+
go 1.21.0

0 commit comments

Comments
 (0)