diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index c4bb50f..2d00c2d 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -5,8 +5,13 @@ jobs: name: lint runs-on: ubuntu-latest steps: + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: '1.17.8' + 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.0 + version: v1.44.2 diff --git a/Context.go b/Context.go index 49365a5..71e9511 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 e93a524..a726dbe 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.** ---