|
@@ -32,8 +32,8 @@ func info_students(w http.ResponseWriter, r *http.Request) {
|
|
func state(w http.ResponseWriter, r *http.Request) {
|
|
func state(w http.ResponseWriter, r *http.Request) {
|
|
Ip := GetOutboundIP().String()
|
|
Ip := GetOutboundIP().String()
|
|
regex := regexp.MustCompile("\\W[0-9]*\\W[0-9]*")
|
|
regex := regexp.MustCompile("\\W[0-9]*\\W[0-9]*")
|
|
- koya := regex.ReplaceAllString(Ip, ".*.*")
|
|
|
|
- fmt.Fprint(w, koya)
|
|
|
|
|
|
+ ipwithoutoctets := regex.ReplaceAllString(Ip, ".*.*")
|
|
|
|
+ fmt.Fprint(w, ipwithoutoctets)
|
|
fmt.Fprintf(w, " Любовникова Екатерина Александровна 2021-09-23 4:5:5 pm")
|
|
fmt.Fprintf(w, " Любовникова Екатерина Александровна 2021-09-23 4:5:5 pm")
|
|
}
|
|
}
|
|
|
|
|