Skip to content

Commit 7f193b1

Browse files
committed
🦄name change
1 parent eb72a3e commit 7f193b1

15 files changed

Lines changed: 122 additions & 123 deletions

File tree

.github/workflows/greetings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jobs:
1212
- uses: actions/first-interaction@v1
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
15-
issue-message: 'Thank you for opening an issue to Fiable 🦄. The issue will soon be reviewed 🔨'
16-
pr-message: 'Thank you for showing interest in Fiable 🦄 and contributing to it. The Pr would soon be reviewed by the maintainer'
15+
issue-message: 'Thank you for opening an issue to minima 🦄. The issue will soon be reviewed 🔨'
16+
pr-message: 'Thank you for showing interest in minima 🦄 and contributing to it. The Pr would soon be reviewed by the maintainer'

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 gofiable
3+
Copyright (c) 2021 gominima
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.MD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

2-
![logo](./assets/logo.png)
32
<p align="center">
4-
Fiable 🦄 is a reliable and lightweight framework for <a href="https://www.golang.org" target="_blank">Go</a> to carve the web 💻. Developed with core <a href="https://pkg.go.dev/net/http" target="_blank">net/http</a>🔌and other native packages, and with 0 dependencies
3+
Minima 🦄 is a reliable and lightweight framework for <a href="https://www.golang.org" target="_blank">Go</a> to carve the web 💻. Developed with core <a href="https://pkg.go.dev/net/http" target="_blank">net/http</a>🔌and other native packages, and with 0 dependencies
54
</p>

assets/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta http-equiv="X-UA-Compatible" content="IE=edge">
55
<script src="https://cdn.tailwindcss.com"></script>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>Fiable</title>
7+
<title>minima</title>
88

99
</head>
1010
<body>

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package fiable
1+
package minima
22

33
type Config struct {
44
Middleware []Handler

examples/start.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ package main
33
import (
44
"fmt"
55

6-
"github.com/gofiable/fiable"
6+
"github.com/gominima/minima"
77
)
88

99
func main() {
10-
app := fiable.New()
11-
router := fiable.NewRouter()
12-
app.Get("/o/:name", func(response *fiable.Response, request *fiable.Request) {
10+
app := minima.New()
11+
router := minima.NewRouter()
12+
app.Get("/o/:name", func(response *minima.Response, request *minima.Request) {
1313
p := request.GetParam("name")
1414
response.Send(300, p)
1515
})
16-
router.Get("/hello/?", func(response *fiable.Response, request *fiable.Request) {
16+
router.Get("/hello/?", func(response *minima.Response, request *minima.Request) {
1717
type hello struct {
1818
Name string `json:"name"`
1919
Age int `json:"age"`
@@ -23,9 +23,9 @@ func main() {
2323
response.Json(&hello{Name: "totu", Age: 15})
2424
})
2525

26-
app.UseConfig(&fiable.Config{
26+
app.UseConfig(&minima.Config{
2727
Logger: false,
28-
Middleware: []fiable.Handler{},
28+
Middleware: []minima.Handler{},
2929
Router: router,
3030
})
3131
app.Listen(":3000")

fiable.go

Lines changed: 0 additions & 102 deletions
This file was deleted.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/gofiable/fiable
1+
module github.com/gominima/minima
22

33
go 1.17

header.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package fiable
1+
package minima
22

33
import (
44
"fmt"

middleware.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package fiable
1+
package minima
22

33
type Middleware struct {
44
handler Handler

0 commit comments

Comments
 (0)