[go-nuts] Re: prevent download static files

2024-01-19 Thread 'qiulaidongfeng' via golang-nuts

Please show a code that rewrites your problem with as little as possible.
Thanks.
On Saturday, January 20, 2024 at 3:59:59 AM UTC+8 Moein Ghasemi wrote:

> how can i allow my client to only see my static files which served by 
> server 
> and prevent download .  
> im using echo 
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/3716cfd3-4542-41b9-9ad0-6bcafc707f2fn%40googlegroups.com.


[go-nuts] prevent download static files

2024-01-19 Thread Moein Ghasemi
how can i allow my client to only see my static files which served by 
server 
and prevent download .  
im using echo 

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/a27bafb7-f03f-4ea8-aee1-fb1f8800ed3bn%40googlegroups.com.


[go-nuts] range func experiment typo?

2024-01-19 Thread 'Mark' via golang-nuts
In the RangefuncExperiment  doc it 
says:

for k, v := range g { ... } // g has type Seq[K,V], k and v have types K 
and V

but shouldn't this be:

for k, v := range g { ... } // g has type Seq2[K,V], k and v have types K 
and V

Anyway, it looks interesting.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/d5299dee-cabc-40a9-9c93-b9fd17149045n%40googlegroups.com.