mirror of
https://github.com/tufanbarisyildirim/gonginx.git
synced 2026-04-27 00:35:51 +03:00
[PR #75] [MERGED] Add helper for appending location blocks to server #73
Labels
No labels
bug
enhancement
good first issue
pull-request
question
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gonginx#73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tufanbarisyildirim/gonginx/pull/75
Author: @tufanbarisyildirim
Created: 2/20/2026
Status: ✅ Merged
Merged: 2/20/2026
Merged by: @tufanbarisyildirim
Base:
master← Head:fix/issue-41-add-location-helper📝 Commits (1)
12c8d71Add Server.AddLocation helper📊 Changes
3 files changed (+167 additions, -0 deletions)
View changed files
📝
GUIDE.md(+45 -0)📝
config/server.go(+26 -0)➕
config/server_test.go(+96 -0)📄 Description
Summary
(*config.Server).AddLocation(*config.Location)helper for programmatically appending location blocksGUIDE.mdTesting
go test ./config ./dumper ./parsermake testCloses #41
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.