Skip to content

Commit 587a0ed

Browse files
committed
Make 1.23.0 as min required version
1 parent c2d7476 commit 587a0ed

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- name: Install Go
1010
uses: actions/setup-go@v2
1111
with:
12-
go-version: 1.20.x
12+
go-version: 1.23.x
1313
- name: Checkout code
1414
uses: actions/checkout@v2
1515
- name: Get tag

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
test:
55
strategy:
66
matrix:
7-
go-version: [1.18.x, 1.19.x, 1.20.x]
7+
go-version: [1.23.x, 1.24.x]
88
os: [ubuntu-latest]
99
runs-on: ${{ matrix.os }}
1010
steps:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ etag
22
========
33
[![GitHub release](https://img.shields.io/github/release/amalfra/etag.svg)](https://github.com/amalfra/etag/releases)
44
![Build Status](https://github.com/amalfra/etag/actions/workflows/test.yml/badge.svg?branch=main)
5-
[![GoDoc](https://godoc.org/github.com/amalfra/etag/v3?status.svg)](https://godoc.org/github.com/amalfra/etag/v3)
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/amalfra/etag/v3)](https://goreportcard.com/report/github.com/amalfra/etag/v3)
5+
[![GoDoc](https://godoc.org/github.com/amalfra/etag/v4?status.svg)](https://godoc.org/github.com/amalfra/etag/v4)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/amalfra/etag/4)](https://goreportcard.com/report/github.com/amalfra/etag/v4)
77
[![Coverage Status](https://coveralls.io/repos/github/amalfra/etag/badge.svg?branch=main)](https://coveralls.io/github/amalfra/etag?branch=main)
88

99
A go package to create HTTP ETags (as defined in RFC 7232) for use in HTTP responses.
1010

1111
## Installation
1212
You can download the package using
1313
```sh
14-
go get github.com/amalfra/etag/v3
14+
go get github.com/amalfra/etag/v4
1515
```
1616

1717
## Usage
1818
Next, import the package
1919
``` go
2020
import (
21-
"github.com/amalfra/etag/v3"
21+
"github.com/amalfra/etag/v4"
2222
)
2323
```
2424
You can now call the ```generate``` function to create an ETag. The second parameter is a boolean which specifies whether the generated ETag must be weak or not.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/amalfra/etag/v3
1+
module github.com/amalfra/etag/v4
22

3-
go 1.18
3+
go 1.23.0

0 commit comments

Comments
 (0)