From 1eb3cd30bfe7d3d2e552c49de234cca904e39be1 Mon Sep 17 00:00:00 2001 From: Christian Haas Date: Sat, 31 Dec 2022 12:50:08 +0100 Subject: [PATCH 1/4] Add discontinuation notices --- Context.go | 2 ++ README.md | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Context.go b/Context.go index 49365a51..71e9511c 100644 --- a/Context.go +++ b/Context.go @@ -17,6 +17,8 @@ type Context struct { // CreateContext produces a new internal state scope. // Passing nil for the fontAtlas creates a default font. +// +// Deprecated: Unmaintained wrapper. Use an alternative; see README of https://github.com/inkyblackness/imgui-go . func CreateContext(fontAtlas *FontAtlas) *Context { var fontAtlasPtr C.IggFontAtlas if fontAtlas != nil { diff --git a/README.md b/README.md index e93a5247..a726dbe6 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,13 @@ [![Go Report Card](https://goreportcard.com/badge/github.com/inkyblackness/imgui-go)](https://goreportcard.com/report/github.com/inkyblackness/imgui-go) [![Lint Status](https://github.com/inkyblackness/imgui-go/workflows/golangci-lint/badge.svg)](https://github.com/inkyblackness/imgui-go/actions) -## Sunsetting announcement -**This wrapper is about to be discontinued. Please consider using https://github.com/AllenDang/cimgui-go instead. +## Discontinued +**This repository is no longer maintained as per 2022-12-31. +Please consider using https://github.com/AllenDang/cimgui-go instead. That project is an auto-generated wrapper and makes it easier to be at the latest version of *Dear ImGui*.** -**This repository here, along with the examples, is planned to become read-only on 2022-12-31.** +**You may also have a look at this fork https://github.com/eliasdaler/imgui-go , the owner intended to +continue to support it.** --- From 1d62e2e26b7dd5aabcb2647787501709f5f61732 Mon Sep 17 00:00:00 2001 From: Christian Haas Date: Sat, 31 Dec 2022 13:09:55 +0100 Subject: [PATCH 2/4] Attempt to fix golangci linter action --- .github/workflows/golangci-lint.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index c4bb50f1..6c3fc225 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -5,8 +5,12 @@ jobs: name: lint runs-on: ubuntu-latest steps: + - name: Set up Go + uses: actions/setup-go@v1 + with: + go-version: '1.18' - uses: actions/checkout@v2 - name: golangci-lint uses: golangci/golangci-lint-action@v3.2.0 with: - version: v1.44.0 + version: v1.44.2 From f83921c15efd8af07f1f6c0d612edda9b0e80199 Mon Sep 17 00:00:00 2001 From: Christian Haas Date: Sat, 31 Dec 2022 13:11:48 +0100 Subject: [PATCH 3/4] Attempt to fix golangci linter action, copy example even more precise --- .github/workflows/golangci-lint.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 6c3fc225..5e59d127 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -6,11 +6,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v3 with: go-version: '1.18' + check-latest: false - uses: actions/checkout@v2 - name: golangci-lint - uses: golangci/golangci-lint-action@v3.2.0 + uses: golangci/golangci-lint-action@v3 with: version: v1.44.2 From aa831a28afd0e6801e102329875adcd6b5e07dde Mon Sep 17 00:00:00 2001 From: Christian Haas Date: Sat, 31 Dec 2022 13:14:22 +0100 Subject: [PATCH 4/4] Attempt to fix golangci linter action, use older Go version --- .github/workflows/golangci-lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index 5e59d127..2d00c2d1 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -8,7 +8,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: '1.17.8' check-latest: false - uses: actions/checkout@v2 - name: golangci-lint