[PR #60] [MERGED] Fix: #59 support the ability to get the line number where the nginx directive is located #61

Closed
opened 2026-02-28 01:20:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/tufanbarisyildirim/gonginx/pull/60
Author: @sharelinux
Created: 12/12/2024
Status: Merged
Merged: 12/18/2024
Merged by: @tufanbarisyildirim

Base: masterHead: fix-issue-59


📝 Commits (1)

  • cc5d787 Fix: #59 support the ability to get the line number where the nginx directive is located.

📊 Changes

10 files changed (+93 additions, -1 deletions)

View changed files

📝 config/directive.go (+11 -0)
📝 config/http.go (+11 -0)
📝 config/include.go (+10 -0)
📝 config/location.go (+11 -0)
📝 config/lua_block.go (+11 -0)
📝 config/server.go (+11 -0)
📝 config/statement.go (+2 -0)
📝 config/upstream.go (+12 -0)
📝 config/upstream_server.go (+11 -0)
📝 parser/parser.go (+3 -1)

📄 Description

Support the ability to get the line number where the nginx directive is located.

This PR is for Issue: #59, which supports parsing of nginx directives to get the line number in the configuration file where the directive is located.

I hope it will be merged.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/tufanbarisyildirim/gonginx/pull/60 **Author:** [@sharelinux](https://github.com/sharelinux) **Created:** 12/12/2024 **Status:** ✅ Merged **Merged:** 12/18/2024 **Merged by:** [@tufanbarisyildirim](https://github.com/tufanbarisyildirim) **Base:** `master` ← **Head:** `fix-issue-59` --- ### 📝 Commits (1) - [`cc5d787`](https://github.com/tufanbarisyildirim/gonginx/commit/cc5d78786b783636e87c88e721e192fa97c016f4) Fix: #59 support the ability to get the line number where the nginx directive is located. ### 📊 Changes **10 files changed** (+93 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `config/directive.go` (+11 -0) 📝 `config/http.go` (+11 -0) 📝 `config/include.go` (+10 -0) 📝 `config/location.go` (+11 -0) 📝 `config/lua_block.go` (+11 -0) 📝 `config/server.go` (+11 -0) 📝 `config/statement.go` (+2 -0) 📝 `config/upstream.go` (+12 -0) 📝 `config/upstream_server.go` (+11 -0) 📝 `parser/parser.go` (+3 -1) </details> ### 📄 Description Support the ability to get the line number where the nginx directive is located. This PR is for Issue: #59, which supports parsing of nginx directives to get the line number in the configuration file where the directive is located. I hope it will be merged. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 01:20:44 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gonginx#61
No description provided.